summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-06-18 12:37:19 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-06-18 12:37:19 +0200
commit693195804148102964d04e332b0903714ca803cb (patch)
treeafc800dac75abbd224377b1faf2c5f5b4c569071
parent8c0356787a1b76472b5b1c6e5b067445773e9e7d (diff)
downloadqt-creator-693195804148102964d04e332b0903714ca803cb.tar.gz
Recognize DLL not found excption as non-fatal in CDB.
-rw-r--r--src/plugins/debugger/cdb/cdbexceptionutils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/debugger/cdb/cdbexceptionutils.cpp b/src/plugins/debugger/cdb/cdbexceptionutils.cpp
index d21d740d31..3839ee8227 100644
--- a/src/plugins/debugger/cdb/cdbexceptionutils.cpp
+++ b/src/plugins/debugger/cdb/cdbexceptionutils.cpp
@@ -40,7 +40,8 @@ enum { debugExc = 0 };
// Special exception codes.
enum { cppExceptionCode = 0xe06d7363, startupCompleteTrap = 0x406d1388,
- rpcServerUnavailableExceptionCode = 0x6ba };
+ rpcServerUnavailableExceptionCode = 0x6ba,
+ dllNotFoundExceptionCode = 0xc0000135 };
namespace Debugger {
namespace Internal {
@@ -168,6 +169,9 @@ void formatException(const EXCEPTION_RECORD64 *e, QTextStream &str)
case startupCompleteTrap:
str << "Startup complete";
break;
+ case dllNotFoundExceptionCode:
+ str << "DLL not found";
+ break;
case EXCEPTION_ACCESS_VIOLATION: {
const bool writeOperation = e->ExceptionInformation[0];
str << (writeOperation ? "write" : "read")
@@ -266,6 +270,7 @@ bool isFatalException(LONG code)
case EXCEPTION_SINGLE_STEP:
case startupCompleteTrap: // Mysterious exception at start of application
case rpcServerUnavailableExceptionCode:
+ case dllNotFoundExceptionCode:
return false;
default:
break;