Add full memory map info to Windows dumps
This commit is contained in:
		
							parent
							
								
									d1786070c4
								
							
						
					
					
						commit
						2634cdde6b
					
				| @ -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); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user