How can I debug multithreaded applications

CodeLite installation/troubleshooting forum
gkourtis
CodeLite Enthusiast
Posts: 18
Joined: Sat Jan 25, 2014 9:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

How can I debug multithreaded applications

Post by gkourtis »

I would like to debug a multithreaded application debugging at the same time 2 threads, is it possible ?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How can I debug multithreaded applications

Post 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)
Make sure you have read the HOW TO POST thread
Post Reply