Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Ovodok <dmitrio95@yandex.ru>2019-02-22 17:16:04 +0300
committerDmitri Ovodok <dmitrio95@yandex.ru>2019-02-22 18:54:11 +0300
commit67c71923350c9197aa3e50eaf719d4336cc4ac33 (patch)
treedd86eb535f3bc749346eaa06cbb8f25ba84b6e76
parent43ea1910dbe1130a34e0cbeaf3bb490ed358d97b (diff)
Handle all crash types supported by Breakpad on Windows
On Windows ExceptionHandler constructor requires to specify crash handlers types to use instead of just specifying whether a crash minidump should be written automatically. This commit corrects the constuctor usage to make Breakpad install all the available crash handlers on Windows so more different types of crashes are handled.
-rw-r--r--src/libcrashreporter-handler/Handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcrashreporter-handler/Handler.cpp b/src/libcrashreporter-handler/Handler.cpp
index 2ef58ed..026afd8 100644
--- a/src/libcrashreporter-handler/Handler.cpp
+++ b/src/libcrashreporter-handler/Handler.cpp
@@ -249,7 +249,7 @@ Handler::Handler( const QString& dumpFolderPath, bool active, const QString& cra
m_crash_handler = new google_breakpad::ExceptionHandler( dumpFolderPath.toStdString(), NULL, LaunchUploader, this, true, NULL);
#elif defined Q_OS_WIN
// m_crash_handler = new google_breakpad::ExceptionHandler( dumpFolderPath.toStdString(), 0, LaunchUploader, this, true, 0 );
- m_crash_handler = new google_breakpad::ExceptionHandler( dumpFolderPath.toStdWString(), 0, LaunchUploader, this, true, 0 );
+ m_crash_handler = new google_breakpad::ExceptionHandler( dumpFolderPath.toStdWString(), 0, LaunchUploader, this, google_breakpad::ExceptionHandler::HANDLER_ALL );
#endif
setCrashReporter( crashReporter );