How to simulate a process hang?
One question that people often ask is to how to simulate a process hang. One method that I found is to attach WinDbg noninvasively, freeze all threads by executing the following command:
~*n
and then quit by using q command. This leaves an application or a service process in a total hang state.

- Dmitry Vostokov @ DumpAnalysis.org -
January 26th, 2009 at 2:31 pm
I also got other suggestions such as to use pssuspend tool:
http://technet.microsoft.com/en-us/sysinternals/bb897540.aspx
and Process Explorer
February 11th, 2009 at 3:15 pm
[…] Year of Debugging 2010 (0×7DA) - The Year of Dump Analysis This is a continuation of the story of process hang simulation where I made all threads in IE7 instance frozen. I left that process frozen after my experiments […]