Tuesday 15 September 2015

.NET WinForms startup crash -


It seems that on some clients our WinForms crashes at startup. With some I mean very rare. In one situation we found that the Arial SystemFort was corrupt and was due to crashing in initialized material on startup. To find out that we were very hard, only one clue was an event log entry, the system. The drawing module made the cause of the accident.

Now I have such a situation again, but this time the faulty module is "unknown" and I am wondering how people are disposing / debugging such accidents. I have an exception handler around the initial components Tried to wrap but it did not catch anything.

How does anyone advise about these crashes?

You always catch exceptions at main and in your error log Paste exceptions only after you can debug and know for yourself.

For error logging tools, you can try, or just write in a simple flat file.


No comments:

Post a Comment