diff options
author | Andrew A. de Laix <alain@lindenlab.com> | 2010-06-29 14:51:26 -0700 |
---|---|---|
committer | Andrew A. de Laix <alain@lindenlab.com> | 2010-06-29 14:51:26 -0700 |
commit | 1ec7de1b5760b5fc1ebda1d244784e3bc4596eb1 (patch) | |
tree | 8c1679ed4cbcd8f40025844df3b9934ee2eeecb2 /indra/newview/llappviewerwin32.cpp | |
parent | 4a3710501b1aeae90afbd48c7e3531c86f92517e (diff) |
Generate windows minidump files on crash for developer (not release for download) builds. SL crash reporter still enabled.
Diffstat (limited to 'indra/newview/llappviewerwin32.cpp')
-rw-r--r-- | indra/newview/llappviewerwin32.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp index e3ef04d03d..8c9fd09dcb 100644 --- a/indra/newview/llappviewerwin32.cpp +++ b/indra/newview/llappviewerwin32.cpp @@ -64,6 +64,10 @@ #include "llcommandlineparser.h" #include "lltrans.h" +#ifndef LL_RELEASE_FOR_DOWNLOAD +#include "llwindebug.h" +#endif + // *FIX:Mani - This hack is to fix a linker issue with libndofdev.lib // The lib was compiled under VS2005 - in VS2003 we need to remap assert #ifdef LL_DEBUG @@ -342,6 +346,10 @@ bool LLAppViewerWin32::init() llinfos << "Turning off Windows error reporting." << llendl; disableWinErrorReporting(); +#ifndef LL_RELEASE_FOR_DOWNLOAD + LLWinDebug::instance().init(); +#endif + return LLAppViewer::init(); } |