OSDN Git Service

Debugger[CDB]: Suppress WOW86 exceptions while stepping.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 2 Mar 2011 12:42:45 +0000 (13:42 +0100)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 2 Mar 2011 12:44:05 +0000 (13:44 +0100)
src/plugins/debugger/cdb/cdbengine.cpp

index 1aba5dc..9c0a27b 100644 (file)
@@ -1779,9 +1779,10 @@ unsigned CdbEngine::examineStopReason(const GdbMi &stopReason,
         exception.fromGdbMI(stopReason);
         QString description = exception.toString();
 #ifdef Q_OS_WIN
-        // It is possible to hit on a startup trap while stepping (if something
+        // It is possible to hit on a startup trap or WOW86 exception while stepping (if something
         // pulls DLLs. Avoid showing a 'stopped' Message box.
-        if (exception.exceptionCode == winExceptionStartupCompleteTrap)
+        if (exception.exceptionCode == winExceptionStartupCompleteTrap
+            || exception.exceptionCode == winExceptionWX86Breakpoint)
             return StopNotifyStop;
         if (exception.exceptionCode == winExceptionCtrlPressed) {
             // Detect interruption by pressing Ctrl in a console and force a switch to thread 0.