How can I debug multithreaded applications
-
- 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
I would like to debug a multithreaded application debugging at the same time 2 threads, is it possible ?
- 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
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)
Note that you might experience thread context switching (this is how gdb works)
Make sure you have read the HOW TO POST thread