Saturday, April 24, 2010

Using GDB’s ‘po’ Command While a Malloc Lock Is Being Held

Brian Webster:

What this does, when enabled, is to cause GDB to only run the current thread when you click the “Continue” button or use the “continue” command from the GDB console, rather than running all threads at once. To enable this behavior, you can simply type “set scheduler-locking on” on the console.

Comments RSS · Twitter

Leave a Comment