gohome1984 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Allow finer control over installed handler types #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, the ExceptionHandler constructor accepts a single
install_handler argument that controls the installation of three different
types of handlers:

 - the unhandled exception filter
 - the invalid parameter handler
 - the purecall handler

After issue 192, it's now feasible to invoke Breakpad from an SEH
__try/__catch block.  It would be wrong (and hazardous) to leave the same
ExceptionHandler instance installed as an unhandled exception filter when
set up to trap exceptions via SEH.  When using SEH to catch exceptions,
Breakpad's unhandled exception filter should not be installed, but it would
still be desirable to leave the invalid parameter and purecall handlers
installed.

Original issue reported on code.google.com by mmento...@gmail.com on 2 Jul 2007 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by mmento...@gmail.com on 2 Jul 2007 at 4:01

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ted.mielczarek on 3 Jul 2007 at 12:03