~s (Set Current Thread)
The ~s command sets or displays the current thread number in user mode.
Do not confuse this command 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
Item | Description |
---|---|
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.