Analyzing Wait Chains to Determine the Cause of Software Hangs
Software crashes are the bane of any user’s existence. This is especially the case when a program is repeatedly crashing. Windows 7 includes a version of the resource monitor (RESMON) utility that has a new feature aimed at helping system administrators track down the cause of application hangs.
When the application in question freezes up, you can launch Resource Monitor by going to the Start Menu, typing resmon, and pressing Enter. Within resource monitor you can right click the process that is stalled and click the Analyze Wait Chain option.
This option will give you some insight into what the process is waiting on that is keeping it from functioning. This may not give you a definitive answer as to why your application is hanging up, but it should help you know where to look.