2

I can add additional argument from launch.json to gdb by miDebuggerArgs

Something like this:

"MIMode": "gdb",
"miDebuggerArgs": "-ex 'help set scheduler-locking'",

works as expected

But why this one doesn't work?

"miDebuggerArgs": "-ex 'show scheduler-locking'",

Also doesn't work set scheduler-locking step

The option setupCommands gives me only errors: Unable to start debugging. Unexpected GDB output from command "-interpreter-exec console "set scheduler-locking step"". Target 'None' cannot support this command. It doesn't look useful

Is there any other option to setting up set scheduler-locking step before debug is paused on breakpoint?

mr NAE
  • 3,144
  • 1
  • 15
  • 35

0 Answers0