Open bewster opened 5 years ago
Can you share your engineLogging the includes hititng continue?
I have similar issue, it seems the cpp debug interface automatically configures the main function as a breakpoint.
How can I disable the main function from being added to the debugger by default?
Basically I want to remove the default breakpoint being added to the debugger:
Here is a snapshot from the debug console.
-break-insert -f main
Getting the following error message from GDB:
ERROR: Unable to start debugging. Unexpected GDB output from command "-exec-run". Warning:
Cannot insert breakpoint 1.
Cannot access memory at address <0x30c0>.
I even have the launch.json
configured as below:
...
"stopAtEntry": false
...
But I still see the: -break-insert -f main
breakpoint to function being configured in GDB in the Debug Console.
Type: Debugger
Describe the bug
After updating to the latest extension I am unable to use the debugger. The breakpoint is hit; but the UI doesn't do anything. "Continue" has no effect. Can "stop" debugging.
If I set stopAtEntry to false. App runs but "Pause" has no effect.
To Reproduce Steps to reproduce the behavior:
Additional context The debugee is an embedded arm device running Debian Wheezy and "GNU gdbserver (GDB) 7.4.1-debian".
The cross-compiler and gdb is also "old".
If I revert to any previous 0.17.x version of the extension breakpoints work.
My initial pass over the engine logging the only difference I see, prior to the breakpoint-hit is the addition of -f when setting the breakpoint.
-break-insert -f main