Page 1 of 1

How can I debug multithreaded applications

Posted: Fri Dec 26, 2014 12:33 pm
by gkourtis
I would like to debug a multithreaded application debugging at the same time 2 threads, is it possible ?

Re: How can I debug multithreaded applications

Posted: Fri Dec 26, 2014 12:54 pm
by eranif
Just place the breakpoints where you want them and gdb will break.
Note that you might experience thread context switching (this is how gdb works)