getting detailed information about structured exceptions

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-05-01T04:27:38Z Indexed on 2010/05/01 4:37 UTC
Read the original article Hit count: 315

Filed under:
|
|

My Visual C++ application is compiled with /EHA option, letting me catch structured exceptions (division by zero, access violation, etc). I then translate those exceptions to my own exception class using _set_se_translator(). My goal is to improve our logging of those types of exceptions.

I can get the type of exception from the EXCEPTION_RECORD structure, and the exception address. I would like to be able to gather more information, like the source file/location where the exception is thrown, the call stack, etc. Is that possible?

I do create an exception minidump on structured exceptions - is there a tool to automatically get the call stack from that?

© Stack Overflow or respective owner

Related posts about c++

Related posts about Windows