How does one include data in crash dumps?

116 views Asked by At

I've started getting crash dumps from some alpha testers in a toy project of mine. At the moment, the app throws some C++ exception, which causes the app to crash. Watson comes along, and because I signed up for Windows Error Reporting, collects a crash dump and sends it to me. I would like to include information in this dump to help figure out what happened, such as the API call that was called to cause the error.

Is there some API or well-defined mechanism whereby I could note some things for the purpose of making dumps more useful just before or as part of throwing the potentially fatal exception?

0

There are 0 answers