microsoft / microsoft/vscode-cpptools
Add support for GDB Catchpoints
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
L’issue non indica file né test; inizia tracciando la gestione esistente dei breakpoint nell’estensione e il modo in cui vengono interpretati gli eventi di arresto di GDB. Confronta la creazione e la visualizzazione richieste dei catchpoint con il comportamento attuale dei breakpoint. Il lavoro è completato quando i catchpoint possono essere aggiunti dalla Run and Debug UI e un catchpoint raggiunto viene riconosciuto e mostrato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript, vscode
- Ambito
- devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100