Commit ae311550 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger[CDB]: Suppress WOW86 exceptions while stepping.

parent e7121d50
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment