Allow finer control over installed handler types (#193). r=ted.mielczarek

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/992a1bb09dc58a32


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@193 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
mmentovai 2007-07-02 19:41:05 +00:00
parent 1260067e42
commit 6a844b1d85
3 changed files with 53 additions and 28 deletions

View file

@ -61,7 +61,9 @@ static void CrashFunction() {
} // namespace
int main(int argc, char **argv) {
google_breakpad::ExceptionHandler eh(L".", NULL, callback, NULL, true);
google_breakpad::ExceptionHandler eh(
L".", NULL, callback, NULL,
google_breakpad::ExceptionHandler::HANDLER_ALL);
CrashFunction();
printf("did not crash?\n");
return 0;