mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 01:05:07 +01:00
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:
parent
1260067e42
commit
6a844b1d85
3 changed files with 53 additions and 28 deletions
4
src/processor/testdata/test_app.cc
vendored
4
src/processor/testdata/test_app.cc
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue