« Home | Null Checks/Plumbing Code » | Paste Special » | Firefox » | Vendor PC Annoyance » | VS.NET Addin Weirdness » | AOP and .NET » | Microsoft Developer Target Profiles » | dotnet.tv » | DiffDebugging » | Whidbey Class Designer »

Unhandled Exception Reporting

I recently included unhandled exception processing in a Windows Forms application to help fault find some problems. Unhandled exceptions were processed by bringing up a user friendly message and giving the user option of emailing an error report to a support email address. The error report is transferred as a zip file containing a bunch of useful information including stack trace and trace/log file. Have a look at this Code Project page for an example of "unhandled" exception processing.

The functionality worked like a charm. A few hours after the new application version was deployed a error report was received on the support email address. The stack trace and associated trace log contained enough information to identify what the problem was and fix it. It's satisfying to be able to resolve a problem within a few hours of a customer experiencing the problem.

Links to this post

Create a Link