code-debug icon indicating copy to clipboard operation
code-debug copied to clipboard

Some error is not reported.

Open GongT opened this issue 7 years ago • 1 comments

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] cwd and target are properly set

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.

GongT avatar Nov 26 '18 10:11 GongT

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.

WebFreak001 avatar Nov 28 '18 09:11 WebFreak001