From 2117d062743bb76cef701fc72623f2c886afec87 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 25 Feb 2014 18:47:11 +0800 Subject: [PATCH] Disable in process stack dumping on Windows. It would force the process to run in console. --- app/atom_main_delegate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/atom_main_delegate.cc b/app/atom_main_delegate.cc index e50ae1c1cb4e..c6b1a554eb94 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