Fixes: Missing locals & watchers when debugging on Snow Leopard

Task-number: QTCREATORBUG-436
Reviewed-by: hjk
This commit is contained in:
con
2010-01-12 15:22:02 +01:00
parent 77b3bf4d7b
commit ff066d5e76

View File

@@ -3416,6 +3416,13 @@ void GdbEngine::handleDebuggingHelperValue2(const GdbResponse &response)
WatchData data = response.cookie.value<WatchData>();
QTC_ASSERT(data.isValid(), return);
// The real dumper might have aborted without giving any answers.
// Remove traces of the question, too.
if (m_cookieForToken.contains(response.token - 1)) {
debugMessage(_("DETECTING LOST COMMAND %1").arg(response.token - 1));
--m_pendingRequests;
}
//qDebug() << "CUSTOM VALUE RESULT:" << response.toString();
//qDebug() << "FOR DATA:" << data.toString() << response.resultClass;
if (response.resultClass != GdbResultDone) {