microsoft / microsoft/vscode-cpptools

EASteamProxy.exe breaks VScode "command:pickProcess"

Offen
#12,197 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug debugger help wanted Language Service
Vorherrschende Sprache
TypeScript
Sterne
6.2k
Forks
1.7k
Ø Merge
14 Std. 46 Min.
Gemergte PRs (30 T.)
61

Beschreibung

Environment
  • OS and version: Windows 11 Pro
  • VS Code: 1.88.1 (user setup)
  • C/C++ extension: v1.19.9
Bug Summary and Steps to Reproduce

Steps to Reproduce:

  1. Open any EA game like Titanfall 2 from Steam (game must also use EA app proxy), make sure you have EASteamProxy.exe in task manager.
  2. Create launch.js file that should attach a debugger to process you can choose
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(Windows) Attach",
            "type": "cppvsdbg",
            "request": "attach",
            "processId":"${command:pickProcess}"
        }

    ]
}
  1. Execute lauch.js
    image
Debugger Configurations
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(Windows) Attach",
            "type": "cppvsdbg",
            "request": "attach",
            "processId":"${command:pickProcess}"
        }

    ]
}
Debugger Logs
N/A
Other Extensions

Only C/C++ extension

Additional Information

PS:
It could be fixed if VS code will rather used this command:
wmic process get name,processid /format:list
instead of that, to get process id
wmic process get name,processid,commandline /format:list

If you close EASteamProxy.exe this error disappeares

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, den Windows-Attach-Ablauf mit laufendem EASteamProxy.exe zu reproduzieren, und vergleiche die beiden im Issue gezeigten WMIC-Prozessabfragen. Verfolge die Implementierung hinter ${command:pickProcess}; fertig ist die Aufgabe, wenn der Prozess-Picker erfolgreich attachen kann, während EASteamProxy.exe vorhanden ist, ohne die normale Prozessliste zu beeinträchtigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript, vscode
Bereich
developer-experience, devtools, operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.