diff options
author | Iain <qt-info@nokia.com> | 2009-05-26 15:13:01 (GMT) |
---|---|---|
committer | Iain <qt-info@nokia.com> | 2009-05-26 15:13:01 (GMT) |
commit | 8d9b58cde5d1ad6c6684bcc3516cd3782b946bfc (patch) | |
tree | d6d359d56c53bc27a05b0c79b83e362aaabae82c /src/corelib/global | |
parent | ff7e53bb99611f8a1a06319d0c17969fda2b9a10 (diff) | |
download | Qt-8d9b58cde5d1ad6c6684bcc3516cd3782b946bfc.zip Qt-8d9b58cde5d1ad6c6684bcc3516cd3782b946bfc.tar.gz Qt-8d9b58cde5d1ad6c6684bcc3516cd3782b946bfc.tar.bz2 |
Use __DEBUGGER() when qFatal is called to give the debugger a chance to
kick in (assuming JustInTime is set in epoc.ini)
RevBy: TrustMe
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index dd1dbd2..a1b46f7 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -69,6 +69,7 @@ #endif #if defined(Q_OS_SYMBIAN) +#include <e32def.h> #include <e32debug.h> #endif @@ -2150,6 +2151,7 @@ void qt_message_output(QtMsgType msgType, const char *buf) #endif #if defined(Q_OS_SYMBIAN) + __DEBUGGER(); // on the emulator, get the debugger to kick in if there is JustInTime is true User::Invariant(); // Panic the current thread #elif (defined(Q_OS_UNIX) || defined(Q_CC_MINGW)) abort(); // trap; generates core dump |