microsoft / microsoft/vscode-cpptools
Simplify debug
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
Hi VS Code PM here 👋
I just tried setting up C++ with VS Code following this tutorial. The flow is actually nice, but here's some feedback on what I think we could improve:
- C++ should consider contributing to the Editor title area menu, such that a Play button would appear in the Editor Title area. Example how to do this. I am not sure if it would be too noisy to have this on every file C++.
- You aggressively generate
tasks.jsonandlaunch.jsonand you do not provide configurations from memory. Consider providing a dynamicresolveDebugConfiguartionthat will provide a launch configuration on the fly. Example - If you decide to stick with
launch.jsongeneration consider to simplify it. For examplestopOnEntryfield could be removed. - If I have a purple no folder VS Code it is impossible to debug a simple C++ file
I would love if we could improve this experience, since we see in user studies that users want a confirmation that VS Code can do C++, and providing an easy way to run and debug simple C++ files would be great for this.
Let me know if I can help somehow. I am also open to a quick 30 min meeting where we can discuss about the new cool VS Code debug features that C++ could potentially adopt. And you could let us know what are your biggest asks from the VS Code debugger.
fyi @WardenGnaw @weinand
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
Inizia con il tutorial di configurazione C++ e confronta il flusso attuale di tasks.json e launch.json con gli esempi collegati di vscode-mock-debug package.json e src/activateMockDebug.ts. Per prima cosa, concorda quale delle quattro migliorie proposte rientra nell’ambito; il lavoro sarà completo quando sarà realizzata una semplificazione chiaramente definita e testata del flusso di debugging selezionato, incluso il caso senza cartella se scelto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, typescript, vscode
- Ambito
- developer-experience, devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100