vscode-cpptools
vscode-cpptools copied to clipboard
Support per-thread breakpoints
Feature Request
According to gdb, I should be able to set a breakpoint on a specific thread, using something like
break <file.cpp>:
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.
If you want to use console gdb commands in the debug console, you will need to prefix it with -exec
or the '`' character.
We will look into adding a way for conditionally breaking on a specific thread.
Thank you for creating this request.
This would make my life so much better! Thank you!
@WardenGnaw This method works for now. I can't stand fighting with vim and gdb in linux. I hope I could use better multithread debugger in the future.thank you!!!