microsoft / microsoft/vscode-cpptools
Simplify debug
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the C++ setup tutorial and compare the current tasks.json and launch.json flow with the linked vscode-mock-debug package.json and src/activateMockDebug.ts examples. First agree which of the four proposed improvements is in scope; done should be a clearly defined, tested simplification of the selected debugging flow, including the no-folder case if chosen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript, vscode
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100