From 9b0ab09b45142bc26d51e16613d06bb415dc0d0c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 11 Jan 2013 09:41:50 +0200 Subject: [PATCH] No "core dumps" on Windows, and not on iOS or Android either Change-Id: Ie5d3257d3a289856399f7a3266e3caf66831e00a --- vcl/source/app/dbggui.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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;