You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a similar issue. I tried your suggestion and typed "signal SIGTRAP" in the console, and I got the following error:
Cannot execute this command while the selected thread is running. (from interpreter-exec console "signal SIGTRAP")
Cannot execute this command while the selected thread is running.
edit:
Follow-up
after more messing around, here's what I've found that doesn't work:
The play button (sometimes?)
The pause button
The step back button
The restart button?
The reverse button
Here's what works:
The play button
The step over button
The step into button
The step out button
breakpoints
Watches window
Variables window
The play button seems to work, except when I get in a weird state where the "play" button appears instead of the pause button even though the program is currently running. The reason I can enter this weird state is because the pause button doesn't pause my program.
As a side note, I believe the reason the "restart" button doesn't work is because of my gdb server, and not due to a problem with the vscode extension.
I have found that typing "interrupt" in the vscode debug console performs the equivalent of pressing ctrl+c in gdb.
Is there a way to remap what the gui buttons do? If I could remap the "pause" button to do the equivalent of typing "interrupt" in the debug console, it would streamline my debugging experience a lot.
Activity
WebFreak001 commentedon Jul 20, 2019
https://sourceware.org/gdb/onlinedocs/gdb/Signaling.html#Signaling
try
signal SIGINTin the debugging console4a-42 commentedon Sep 30, 2019
I have a similar issue. I tried your suggestion and typed "signal SIGTRAP" in the console, and I got the following error:
Cannot execute this command while the selected thread is running. (from interpreter-exec console "signal SIGTRAP")
Cannot execute this command while the selected thread is running.
edit:
Follow-up
after more messing around, here's what I've found that doesn't work:
Here's what works:
The play button seems to work, except when I get in a weird state where the "play" button appears instead of the pause button even though the program is currently running. The reason I can enter this weird state is because the pause button doesn't pause my program.
As a side note, I believe the reason the "restart" button doesn't work is because of my gdb server, and not due to a problem with the vscode extension.
I have found that typing "interrupt" in the vscode debug console performs the equivalent of pressing ctrl+c in gdb.
Is there a way to remap what the gui buttons do? If I could remap the "pause" button to do the equivalent of typing "interrupt" in the debug console, it would streamline my debugging experience a lot.
bustij commentedon Oct 7, 2019
This issue is possibly related microsoft/MIEngine#844