展开 最小化

~s (Set Current Thread)

The ~s command sets or displays the current thread number.

In user mode, ~s sets the current thread. Do not confuse this command confused with the ~s (Change Current Processor) command (which works only in kernel mode), the |s (Set Current Process) command, the ||s (Set Current System) command, or the s (Search Memory) command.

~Thread s 
~ s 

Parameters

Thread

Specifies the thread to set or display. For more information about the syntax, see Thread Syntax.

Environment

Modes

User mode only

Targets

Live, crash dump

Platforms

All

 

Additional Information

For more information and other methods of displaying or controlling processes and threads, see Controlling Processes and Threads.

Remarks

You can specify threads only in user mode. In kernel mode, the tilde (~) refers to a processor.

If you use the ~s syntax, the debugger displays information about the current thread.

This command also disassembles the current instruction for the current system, process, and thread.

 

 

Send comments about this topic to Microsoft

显示:
© 2014 Microsoft