Link to home
Start Free TrialLog in
Avatar of WxW
WxW

asked on

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 ?

Avatar of BlackDiamond
BlackDiamond

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.
ASKER CERTIFIED SOLUTION
Avatar of garboua
garboua

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial