From 2634cdde6b510d8148d82beb05f8efe1ddc93522 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Sun, 5 May 2019 14:04:50 +0000 Subject: [PATCH] Add full memory map info to Windows dumps --- extension/extension.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extension/extension.cpp b/extension/extension.cpp index acf315e..ccb3790 100644 --- a/extension/extension.cpp +++ b/extension/extension.cpp @@ -1192,7 +1192,8 @@ bool Accelerator::SDK_OnLoad(char *error, size_t maxlength, bool late) wchar_t *buf = new wchar_t[sizeof(dumpStoragePath)]; size_t num_chars = mbstowcs(buf, dumpStoragePath, sizeof(dumpStoragePath)); - handler = new google_breakpad::ExceptionHandler(std::wstring(buf, num_chars), NULL, dumpCallback, NULL, google_breakpad::ExceptionHandler::HANDLER_ALL); + handler = new google_breakpad::ExceptionHandler(std::wstring(buf, num_chars), NULL, dumpCallback, NULL, + google_breakpad::ExceptionHandler::HANDLER_ALL, MiniDumpWithUnloadedModules | MiniDumpWithFullMemoryInfo, NULL, NULL); vectoredHandler = AddVectoredExceptionHandler(0, BreakpadVectoredHandler);