зеркало из https://github.com/mozilla/pjs.git
Bug 624835 - Exception handler ignores ::DebugBreak exceptions when it really shouldn't, r=ted a=blocker
--HG-- extra : rebase_source : 619ac4f326a67d114900691f6e61ca4a00a6f73d
This commit is contained in:
Родитель
60106df5f1
Коммит
5923cde28e
|
@ -766,6 +766,10 @@ nsresult SetExceptionHandler(nsILocalFile* aXREDirectory,
|
||||||
if (!gExceptionHandler)
|
if (!gExceptionHandler)
|
||||||
return NS_ERROR_OUT_OF_MEMORY;
|
return NS_ERROR_OUT_OF_MEMORY;
|
||||||
|
|
||||||
|
#ifdef XP_WIN
|
||||||
|
gExceptionHandler->set_handle_debug_exceptions(true);
|
||||||
|
#endif
|
||||||
|
|
||||||
// store application start time
|
// store application start time
|
||||||
char timeString[32];
|
char timeString[32];
|
||||||
time_t startupTime = time(NULL);
|
time_t startupTime = time(NULL);
|
||||||
|
@ -1864,6 +1868,9 @@ SetRemoteExceptionHandler(const nsACString& crashPipe)
|
||||||
MiniDumpNormal,
|
MiniDumpNormal,
|
||||||
NS_ConvertASCIItoUTF16(crashPipe).BeginReading(),
|
NS_ConvertASCIItoUTF16(crashPipe).BeginReading(),
|
||||||
NULL);
|
NULL);
|
||||||
|
#ifdef XP_WIN
|
||||||
|
gExceptionHandler->set_handle_debug_exceptions(true);
|
||||||
|
#endif
|
||||||
|
|
||||||
// we either do remote or nothing, no fallback to regular crash reporting
|
// we either do remote or nothing, no fallback to regular crash reporting
|
||||||
return gExceptionHandler->IsOutOfProcess();
|
return gExceptionHandler->IsOutOfProcess();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче