Don't write windows os minidumps if running from a debugger.
parent
75c1c70b25
commit
db480bcd9c
|
|
@ -91,12 +91,15 @@ LONG NTAPI vectoredHandler(PEXCEPTION_POINTERS exception_infop)
|
|||
}
|
||||
|
||||
// static
|
||||
void LLWinDebug::init()
|
||||
void LLWinDebug::init()
|
||||
{
|
||||
static bool s_first_run = true;
|
||||
// Load the dbghelp dll now, instead of waiting for the crash.
|
||||
// Less potential for stack mangling
|
||||
|
||||
// Don't install vectored exception handler if being debugged.
|
||||
if(IsDebuggerPresent()) return;
|
||||
|
||||
if (s_first_run)
|
||||
{
|
||||
// First, try loading from the directory that the app resides in.
|
||||
|
|
|
|||
Loading…
Reference in New Issue