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?
Ctrl + Shift + P) shows commands for "Disable all breakpoints" and "Enable all breakpoints." They are not bound by a keyboard shorcut by default, but that is rather trivial to set yourself.