Disable in process stack dumping on Windows.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 25 Feb 2014 10:47:11 +0000 (18:47 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 25 Feb 2014 10:47:11 +0000 (18:47 +0800)
It would force the process to run in console.

app/atom_main_delegate.cc

index e50ae1c1cb4e75f505997110949b5f700358290a..c6b1a554eb943563098943ebfdcf75af86cf2257 100644 (file)
@@ -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