Debugging a Program With dbx

Viewing the Context of Another Thread

To switch the viewing context to another thread, use the thread command. The syntax is:


thread [-info] [-hide] [-unhide] [-suspend] [-resume] tid

To display the current thread:


thread

To switch to thread tid:


thread tid