Problem with thread debuggin

I have a problem with gdb and KDevelop's debugger. When I start a thread using pthread_create , gdb things my program has finished . KDevelop's debugger freezes .

Any options ?

LVL 6
WxWAsked:
Who is Participating?
 
garbouaConnect With a Mentor Commented:
or download the smarter version with threads in mind when developed
http://hegel.ittc.ukans.edu/projects/smartgdb/thread-use.html
0
 
BlackDiamondCommented:
There is an option in gdb to set before you run.  I don't remember the exact syntax but it is something like "set follow child".  That should cause gdb to follow the child processes.
0
All Courses

From novice to tech pro — start learning today.