views:

300

answers:

3

Can anyone recommend a library/SDK/etc. that is free or for purchase that I can integrate into my C++ application that enables the application to perform automatic error reporting? I have something now that I am using but it does not catch all exceptions. I'm looking for something more sophisticated and more robust than I have now.

Any suggestions?

+2  A: 

You don't mention your platform, but if it's Windows, you could take a look at Microsoft's Windows Error Reporting.

This is the "Application XYZ has crashed. Do you want to send an error report to Microsoft?" stuff. If you sign up for WER, you get access to the error reports (dump files, basically) for your apps.

Arnout
+1  A: 

You can use SetUnhandledExceptionFilter and MiniDumpWriteDump functions to make error reporting by yourself.

Lazin
A: 

If your application is for Windows, then XCrashReport might be an interesting solution. It seems to be small, free, easy to integrate, configure and modify if you need some tweaking.

akavel