Open GoogleCodeExporter opened 9 years ago
From poking around, we might be able to use a terminate handler to catch these:
http://www.cplusplus.com/reference/std/exception/set_terminate/
Original comment by ted.mielczarek
on 10 Sep 2009 at 4:31
Here's a start of a patch for this. It registers a terminate handler, but
doesn't
actually do anything in the callback. Unfortunately, set_terminate doesn't
offer a
way to save a context pointer, so to get back to the ExceptionHandler instance
that
registered this handler, in order to actually write a dump, we'll probably need
to
implement something like the Windows ExceptionHandler does, with a vector of
installed handlers and synchronization around them. Bleh.
Original comment by ted.mielczarek
on 29 Sep 2009 at 3:22
Attachments:
Original issue reported on code.google.com by
ylenerr...@gmail.com
on 14 May 2009 at 10:41