Compartilhar via


Thread Information CeDebugX Commands (Compact 2013)

3/26/2014

This topic covers CeDebugX commands for obtaining thread information. The following shows these commands.

Command

Description

Parameters

!thread <pThread>

Displays detailed information for the thread whose pointer value is entered.

<pThread>

Thread pointer value. This can be obtained with the !threadlist command.

!threadh <hThread>

Displays detailed information for the thread whose handle value is entered.

<hThread>

Thread handle value. This can be obtained with the !threadlist command.

!threadlist <process>

Displays summary information for all threads in the process entered, or all threads if no process is given.

<process>

(optional)

Process context. This can be a process name, handle, or ID. The default setting is the current process.

!allthreads <process>

Displays detailed information for all threads in the system, or for the given process, if specified.

<process>

(optional)

Process context. This can be a process name, handle, or ID. The default setting is the current process.

!runlist

Displays the list of threads currently able to run, as well as the currently running thread.

None.

!sleeplist

Displays the list of sleeping threads, including threads in calls to the Sleep function, and threads sleeping in WaitForMultipleObjects calls.

None.

!stackeval <pThread>

Enumerates all values on the stack belonging to the thread whose pointer is entered. If possible, this function attempts to match each value to a symbol or known value, such as a kernel object handle or GWES object, or a pointer to another location on the stack. All values display as text. Only values below the stack pointer are shown and frame boundaries are included, if they can be evaluated.

<pThread>

Thread pointer value. This can be obtained with the !threadlist command.

!stacktrace <pThread>

Displays the stack pointer, frame pointers, and PC at frame pointers for the given thread.

<pThread>

Thread pointer value. This can be obtained with the !threadlist command.

!context <pThread>

Displays the current register context for the specified thread.

<pThread>

Thread pointer value. This can be obtained with the !threadlist command.

See Also

Reference

CeDebugX