~n (Suspend Thread)

The ~n command suspends execution of the specified thread.

Do not confuse this command with the n (Set Number Base) command.

~Thread n 

Parameters

Thread
Specifies the thread or threads to suspend. For more information about the syntax, see Thread Syntax.

Environment

Modes

User mode only

Targets

Live debugging only

Platforms

All

Additional Information

For more information about the suspend count and how suspended threads behave and for a list of other commands that control the suspending and freezing of threads, see Controlling Processes and Threads.

Remarks

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

Every time that you use the ~n command, the thread's suspend count is increased by one.

The thread's start address is displayed when you use this command.

Send comments about this topic to Microsoft