diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 069634d81fe..ab9b0183eb8 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -2541,7 +2541,14 @@ void CdbEngine::parseOutputLine(QByteArray line) } } } - showMessage(QString::fromLocal8Bit(line), LogMisc); + // output(64): ModLoad: 00007ffb`842b0000 00007ffb`843ee000 C:\Windows\system32\KERNEL32.DLL + // output(32): ModLoad: 00007ffb 00007ffb C:\Windows\system32\KERNEL32.DLL + if (line.startsWith("ModLoad: ")) { + QRegExp moduleRegExp(QLatin1String( + "[0-9a-fA-F]+(`[0-9a-fA-F]+)? [0-9a-fA-F]+(`[0-9a-fA-F]+)? (.*)")); + if (moduleRegExp.indexIn(QLatin1String(line)) > -1) + showStatusMessage(tr("Module loaded: ") + moduleRegExp.cap(3).trimmed(), 3000); + } } void CdbEngine::readyReadStandardOut()