Debug Threads

How can we debug threaded application in Linux?
If we have some doubt on a thread then how to set the context of that thread and how to check the values of variables for that thread?

Use "gdb", the standard debugger. There is a page about debugging multi-threaded applications.

Google is your friend: i entered "debug threaded linux" into google and thgiven link was the first of about 14.600.000 hits.

I hoipe this helps.

bakunin

1 Like