Insure we always try to launch a debugger.

This commit is contained in:
Eric Pouech 2000-04-30 12:20:31 +00:00 committed by Alexandre Julliard
parent 99f3a924dc
commit 8446ba04ab
1 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
char format[256];
char buffer[256];
HKEY hDbgConf;
DWORD bAuto;
DWORD bAuto = FALSE;
DWORD ret = EXCEPTION_EXECUTE_HANDLER;
/* send a last chance event to the debugger */
@ -110,7 +110,8 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
RegCloseKey(hDbgConf);
} else {
format[0] = 0;
/* format[0] = 0; */
strcpy(format, "winedbg %ld %ld");
}
if (!bAuto) {