microsoft / microsoft/vscode-cpptools

Show the process ID in the call stack on Windows

Offen
#9,065 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

debugger Feature Request
Vorherrschende Sprache
TypeScript
Sterne
6.2k
Forks
1.7k
Ø Merge
14 Std. 46 Min.
Gemergte PRs (30 T.)
61

Beschreibung

Not sure if the same process ID is applicable to Linux/Mac -- I could check, but I mostly want it for Windows.

I originally filed this on VS Code, but they said: "showing the process ID in the CALL STACK view as part of the session label or thread label is the recommended way (since there is no other place where to show it and since VS Code knows nothing about processes).".

It's available when debugging with Visual Studio 2022.

When I initially use the C/C++ debugger to attach to a process, it shows the process ID in the dropdown, but then I can't remember it and then I need to check later on which process ID I'm attached to and it doesn't show me in the UI (e.g. there are 3 such processes running and I want to make sure I'm attached to the one using 100% CPU and not one of the other 2).

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

Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die Behandlung von Windows Attach sowie der Call-Stack-/Session-Label-Verarbeitung in der Extension zu lokalisieren, und prüfe anschließend, wie die bestehende Prozessauswahl dargestellt wird. Als erledigt gilt die Aufgabe, wenn die Prozess-ID des angehängten Prozesses in der relevanten Call Stack UI sichtbar ist und das Verhalten durch einen geeigneten Test abgedeckt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp, typescript, vscode
Bereich
devtools, operating-systems
Issue-Typ
Feature
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.