From: Cheng Zhao Date: Tue, 25 Feb 2014 10:47:11 +0000 (+0800) Subject: Disable in process stack dumping on Windows. X-Git-Tag: v0.10.1~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2117d062743bb76cef701fc72623f2c886afec87;p=electron.git Disable in process stack dumping on Windows. It would force the process to run in console. --- diff --git a/app/atom_main_delegate.cc b/app/atom_main_delegate.cc index e50ae1c1..c6b1a554 100644 --- a/app/atom_main_delegate.cc +++ b/app/atom_main_delegate.cc @@ -42,7 +42,7 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) { logging::SetLogItems(true, false, true, false); // Enable convient stack printing. -#if defined(DEBUG) && !defined(OS_MACOSX) +#if defined(DEBUG) && defined(OS_LINUX) base::debug::EnableInProcessStackDumping(); #endif