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.
There are a few theories:
-
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.
-
we are using wrappers around non managed code for 2 modules. exceptions inside either of these modules could cause this behavior.
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.
Your best bet is to purchase John Robbins’ book “Debugging Microsoft .NET 2.0 Applications”. Your question can go WAY deeper than we have room to type here.