Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library |
4. Viewing and Navigating To Code
5. Controlling Program Execution
6. Setting Breakpoints and Traces
8. Evaluating and Displaying Data
11. Debugging Multithreaded Applications
16. Debugging Fortran Using dbx
17. Debugging a Java Application With dbx
18. Debugging at the Machine-Instruction Level
19. Using dbx With the Korn Shell
20. Debugging Shared Libraries
The thread command lists or changes the current thread.
Display current thread.
Switch to thread thread_id.
In the following variations, a missing thread_id implies the current thread.
Print everything known about the given thread. For OpenMP threads, the information includes the OpenMP thread id, parallel region, id, task region id, and thread state.
Hide the given (or current) thread. It will not show up in the generic threads listing.
Unhide the given (or current) thread.
Unhide all threads.
Keep the given thread from ever running. A suspended thread shows up with an “S” in the threads list.
Undo the effect of -suspend.
List all locks held by the given thread blocking other threads.
Show which synchronization object the given thread is blocked by, if any.
where:
thread_id is a thread ID.
Display current thread.
Switch to thread thread_id.
In the following variations, a missing thread_id implies the current thread.
Print everything known about the given thread.
Hide the given (or current) thread. It will not show up in the generic threads listing.
Unhide the given (or current) thread.
Unhide all threads.
Keep the given thread from ever running. A suspended thread shows up with an “S” in the threads list.
Undo the effect of -suspend.
Lists the Java monitor owned by thread_id.
Lists the Java monitor on which thread_id is blocked.
where:
thread_id is a dbx-style thread ID of the form t@number or the Java thread name specified for the thread.