Debugging a Program With dbx

thread

In the following commands, a missing tid implies the current thread.

Print everything known about the given thread:


thread -info tid

Hide or unhide the given (or current) thread. It will or will not show up in the generic threads listing:


thread [-hide | -unhide] tid

Unhide all threads:


thread
-unhide all 

Keep the given thread from ever running. A suspended thread shows up with an S in the threads list:


thread -suspend tid

Undo the effect of --suspend:


thread -resume tid