microsoft / microsoft/vscode-cpptools
Support per-thread breakpoints
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Feature Request
According to gdb, I should be able to set a breakpoint on a specific thread, using something like
break <file.cpp>: thread
If I use the console I get
-var-create: unable to create variable object
I've tried using the expression breakpoint through the GUI but that does not work either.
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 by reproducing the issue with GDB using a file.cpp line breakpoint and a specific thread, then compare the console and GUI expression-breakpoint paths. Done means the GUI can create and use a breakpoint restricted to the selected thread without the reported variable-object error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100