VSCode C++ Debug - Break all? #13108
Unanswered
cpisz-posit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Using VSCode Devcontainer extension to attach and debug a process running in an ubuntu 22.04 devcontainer.
GDB version is 12.1
Steps to reproduce
If I:
disable a breakpoint while broke, that should be hit again later
continue execution
attempt to enable the breakpoint again
The breakpoint remains greyed out and says "attempting to bind to breakpoint" indefinitely.
Expected
A means to re-enable breakpoints
Tried
The pause button has no effect nor does F6.
Tried going to the "debug console" and typing break, which results in a message: "Unable to perform this action because the process is running."
Summary
I cannot set or enable a disabled breakpoint while the code is executing and cannot pause its execution. It's become a rather large annoyance to have to start the entire process over again from the top.
Is there a mechanism/step I missed or anything I can do to re-enable a breakpoint while executing?
Beta Was this translation helpful? Give feedback.
All reactions