CDB: Add status messages for loaded modules.

Change-Id: I7fc676f938f69ecc8d228a0d3509da6e7e3e0b1a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
David Schulz
2015-06-23 12:43:48 +02:00
parent d9a8da6ed9
commit 2659e505e6

View File

@@ -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() void CdbEngine::readyReadStandardOut()