title: How to debug random crashes?
body: <p>we have a dotnet 2.0 desktop winforms app and it seems to randomly crash.  no stack trace, vent log, or anything.  it just dissapears.  </p>
  
  <p>There are a few theories:</p>
  
  <ol>
  <li><p>machine simply runs out of resources. some people have said you will always get a window handle exception or a gdi exception but others say it might simply cause crashes.</p></li>
  <li><p>we are using wrappers around non managed code for 2 modules.  exceptions inside either of these modules could cause this behavior.</p></li>
  </ol>
  
  <p>again, this is not reproducible so i wanted to see if there were any suggestions on how to debug better or anything i can put on the machine to "catch" the crash before it happens to help us understand whats going on.</p>