code-debug
code-debug copied to clipboard
Some error is not reported.
If submitting a bug please make sure
- [x] If you are using gdb
- [x]
gdb --version>= 7.7.1 - [x] it works on the command line with
gdb - [x]
cwdandtargetare properly set
- [x]
I'm debugging a riscv program with openocd and gdb. It does not support add break points without interupt.
But I did not know this at first, and the behavior is really strange.
After enable showDevDebugOutput, There is many Cannot execute this command while the target is running.
I think this error message must report in some way.
That issue happens for example with remote debugging or attaching to PIDs and is a GDB issue. I don't have any way to prevent or work around that issue.
Even though a lot will break without that support I think a warning message would be a good idea.