title: How to debug and detect hang issue
body: <p>I am testing my application (Windows 7, WinForms, Infragistics controls, C#, .Net 3.5).
  I have two monitors and my application saves and restores forms' position on the first or second monitors. So I physically switched off second monitor and disabled it at Screen Resolution on the windows display settings form. I need to know it is possible for my application to restore windows positions (for those windows that were saved on the second monitor) to the first one. </p>
  
  <p>I switched off second monitor and press Detect to apply hardware changes.</p>
  
  <p><img src="https://i.stack.imgur.com/o1dIZ.jpg" alt="enter image description here"> </p>
  
  <p>Then Windows switched OFF the first monitor for a few seconds to apply new settings. When the first monitor screen came back, my application became unresponsive. My application was launched in debug mode, so I tried to navigate via stack and threads (Visual Studio 2008), paused application, started and did not find any thing that help me to understand why my application is not responsive.  Could somebody help my how to detect the source of issue.</p>