Export (0) Print
Expand All
Expand Minimize

.sleep (Pause Debugger)

The .sleep command causes the user-mode debugger to pause and the target computer to become active. This command is only used when you are controlling the user-mode debugger from the kernel debugger.

.sleep milliseconds



Specifies the length of the pause, in milliseconds.



controlling the user-mode debugger from the kernel debugger


live debugging only




Additional Information

For details and information about how to wake up a debugger in sleep mode, see Controlling the User-Mode Debugger from the Kernel Debugger.


When you are controlling the user-mode debugger from the kernel debugger, and the user-mode debugger prompt is visible in the kernel debugger, this command will activate sleep mode. The kernel debugger, the user-mode debugger, and the target application will all freeze, but the rest of the target computer will become active.

If you use this command in any other scenario, it will simply freeze the debugger for a period of time.

The sleep time is in milliseconds and interpreted according to the default radix, unless a prefix such as 0n is used. Thus, if the default radix is 16, the following command will cause about 65 seconds of sleep:

0:000> .sleep 10000



Send comments about this topic to Microsoft

© 2015 Microsoft