diff options
author | con <qtc-committer@nokia.com> | 2010-01-12 15:22:02 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-01-12 16:24:39 +0100 |
commit | 47ab61ad119bb9ef610d65868f6808f804232258 (patch) | |
tree | 36f8df027d7a4a7577bec5f322385e13308083b6 | |
parent | a3cd400bc43d0d9bf0e02f72f078401c6b1e8c76 (diff) | |
download | qt-creator-47ab61ad119bb9ef610d65868f6808f804232258.tar.gz |
Fixes: Missing locals & watchers when debugging on Snow Leopard
Task-number: QTCREATORBUG-436
Reviewed-by: hjk
(cherry picked from commit ff066d5e76a9f64a9e7b3f5755fccb8695f3a9ad)
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 3912d03fbc..4a183e5796 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -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) { |