forked from qt-creator/qt-creator
Also remove tokens that we consider "lost" from the list.
Reviewed-by: hjk
(cherry picked from commit e28968bf39
)
This commit is contained in:
@@ -3418,8 +3418,12 @@ void GdbEngine::handleDebuggingHelperValue2(const GdbResponse &response)
|
||||
// The real dumper might have aborted without giving any answers.
|
||||
// Remove traces of the question, too.
|
||||
if (m_cookieForToken.contains(response.token - 1)) {
|
||||
m_cookieForToken.remove(response.token - 1);
|
||||
debugMessage(_("DETECTING LOST COMMAND %1").arg(response.token - 1));
|
||||
--m_pendingRequests;
|
||||
data.setError(WatchData::msgNotInScope());
|
||||
insertData(data);
|
||||
return;
|
||||
}
|
||||
|
||||
//qDebug() << "CUSTOM VALUE RESULT:" << response.toString();
|
||||
|
Reference in New Issue
Block a user