Breakpad: don't fork logger process on startup. Use singularity-debug as the dir for dumps

This commit is contained in:
Latif Khalifa
2013-10-01 21:47:12 +02:00
parent c87f7b0576
commit 81fa147450
2 changed files with 5 additions and 0 deletions

View File

@@ -522,6 +522,7 @@ bool LLAppViewerWin32::restoreErrorTrap()
void LLAppViewerWin32::initCrashReporting(bool reportFreeze)
{
/* Singu Note: don't fork the crash logger on start
const char* logger_name = "win_crash_logger.exe";
std::string exe_path = gDirUtilp->getExecutableDir();
exe_path += gDirUtilp->getDirDelimiter();
@@ -543,6 +544,7 @@ void LLAppViewerWin32::initCrashReporting(bool reportFreeze)
std::string arg_str = "\"" + exe_path + "\" -dumpdir \"" + logdir + "\" -procname \"" + appname + "\" -pid " + pid_str.str();
llinfos << "spawning " << arg_str << llendl;
_spawnl(_P_NOWAIT, exe_path.c_str(), arg_str.c_str(), NULL);
*/
/* STARTUPINFO siStartupInfo;