summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-08-27 14:29:51 +0200
committerJan Holesovsky <kendy@suse.cz>2010-08-27 14:29:51 +0200
commit316f21dbe9fd1a40b9791803eaee7557e1247cff (patch)
treeae89bed446d02a2ebf249ba4e972ec6c6d4c008a
parent199342bec3f517fca721fbfaf7386db01191ca94 (diff)
debug-bits.diff: Make debugging nicer under unix.
i#35336
-rw-r--r--tools/source/debug/debug.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index e17457c60525..ab1f414b0972 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -176,7 +176,11 @@ struct DebugData
aDbgData.bOverwrite = TRUE;
aDbgData.nTraceOut = DBG_OUT_NULL;
aDbgData.nWarningOut = DBG_OUT_NULL;
+#ifdef UNX
+ aDbgData.nErrorOut = DBG_OUT_SHELL;
+#else
aDbgData.nErrorOut = DBG_OUT_MSGBOX;
+#endif
aDbgData.bMemInit = 0x77;
aDbgData.bMemBound = 0x55;
aDbgData.bMemFree = 0x33;