show thread (idb mode only)

List information about a thread.

Syntax

show thread [ [thread_id,...] with state == thread_state ]

Parameters

thread_id

A thread ID. Specify one or more.

thread_state

Threads that you want to list are in this state.

Valid state values for native threads:

ready

blocked

running

terminated

detached

Valid state values for OpenMP* threads:

stopped

running

terminated

Description

This command lists all the threads known to the debugger. If you specify one or more thread identifiers, the debugger displays information about the threads with matching thread ID and thread state.

If you do not specify thread_id_list, the debugger displays information for all threads.

Specify with state == thread_state to list threads that have specific characteristics, such as threads that are currently blocked.

Example

(idb) show thread 1,2,3

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.