forked from qt-creator/qt-creator
Fixes: Missing locals & watchers when debugging on Snow Leopard
Task-number: QTCREATORBUG-436
Reviewed-by: hjk
(cherry picked from commit ff066d5e76
)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user