microsoft / microsoft/vscode-cpptools
Add support for GDB Catchpoints
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
Feature Request
While it is possible to set breakpoints in VS Code within a GDB debugging session, it is not possible to set catchpoints for e.g. syscalls from the GUI. Using the debug console it is possible with e.g. -exec catch syscall read but the Extension does not seem to recognize the catchpoints properly, since the following message is displayed, when hitting a catchpoint

It would be good to add a handling for catchpoints which is similar to breakpoints into the extension.
Possible features are:
- Option to add catchpoints from the "Breakpoints" Section in the "Run and Debug" panel. Alternatively, a Catchpoints section could be added below breakpoints
- Display what catchpoint has been hit in the editor
With kind regards
Martin Schönstedt
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Der Issue nennt keine Dateien oder Tests; beginne damit, die bestehende Behandlung von Breakpoints in der Erweiterung nachzuverfolgen und zu untersuchen, wie GDB-Stoppereignisse interpretiert werden. Vergleiche die angeforderte Erstellung und Anzeige von Catchpoints bei deren Auslösung mit dem aktuellen Verhalten von Breakpoints. Erledigt ist die Aufgabe, wenn Catchpoints über die Run and Debug UI hinzugefügt werden können und ein ausgelöstes Catchpoint erkannt und angezeigt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript, vscode
- Bereich
- devtools
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100