microsoft / microsoft/vscode-cpptools
Simplify debug
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
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
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
Beginne mit dem C++-Setup-Tutorial und vergleiche den aktuellen Ablauf mit tasks.json und launch.json mit den verlinkten Beispielen aus vscode-mock-debug package.json und src/activateMockDebug.ts. Kläre zuerst, welche der vier vorgeschlagenen Verbesserungen in den Umfang fällt; fertig ist die Arbeit, wenn eine klar definierte, getestete Vereinfachung des ausgewählten Debugging-Ablaufs vorliegt, einschließlich des Falls ohne Ordner, falls dieser ausgewählt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, typescript, vscode
- Bereich
- developer-experience, devtools
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100