summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-01-11 09:41:50 +0200
committerTor Lillqvist <tml@iki.fi>2013-01-11 09:41:50 +0200
commit9b0ab09b45142bc26d51e16613d06bb415dc0d0c (patch)
tree67d5150021fb548a817b2e2acd095ff5ae0f76e9
parent90ef2f1d636cc2f3397b820d0ed61f48d4b4ea36 (diff)
No "core dumps" on Windows, and not on iOS or Android either
Change-Id: Ie5d3257d3a289856399f7a3266e3caf66831e00a
-rw-r--r--vcl/source/app/dbggui.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index ee72e0201f9b..a488516aa098 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -1662,7 +1662,13 @@ void DbgPrintMsgBox( const char* pLine )
}
strcpy( aDbgOutBuf, pLine );
+#if defined UNX && !(defined ANDROID || defined IOS)
strcat( aDbgOutBuf, "\nAbort ? (Yes=abort / No=ignore / Cancel=core dump)" );
+#elif defined _WIN32
+ strcat( aDbgOutBuf, "\nAbort ? (Yes=abort / No=ignore / Cancel=try to invoke debugger)" );
+#else
+ strcat( aDbgOutBuf, "\nAbort ? (Yes=abort / No=ignore / Cancel=crash)" );
+#endif
SolarMessageBoxExecutor aMessageBox( String( aDbgOutBuf, RTL_TEXTENCODING_UTF8 ) );
TimeValue aTimeout; aTimeout.Seconds = 2; aTimeout.Nanosec = 0;