Gdb: Print missing tokens in timeout

Change-Id: I5a5693fa2c60511ee581bb2b4f5fa3f5604d0e42
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Kai Koehne
2012-05-10 14:49:13 +02:00
committed by hjk
parent c9dad3cff2
commit 232a1272d4

View File

@@ -1034,7 +1034,12 @@ void GdbEngine::commandTimeout()
showMessage(_(msg));
}
if (killIt) {
showMessage(_("TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS:"));
QStringList commands;
foreach (const GdbCommand &cookie, m_cookieForToken)
commands << QString(_("\"%1\"")).arg(
QString::fromLatin1(cookie.command));
showMessage(_("TIMED OUT WAITING FOR GDB REPLY. "
"COMMANDS STILL IN PROGRESS: ") + commands.join(_(", ")));
int timeOut = m_commandTimer.interval();
//m_commandTimer.stop();
const QString msg = tr("The gdb process has not responded "