Commit 9c1c720d authored by hjk's avatar hjk
Browse files

debugger: make -thread-select and -stack-select-frame discardable

parent f2e8a65c
......@@ -2873,8 +2873,9 @@ void GdbEngine::selectThread(int index)
Threads threads = threadsHandler()->threads();
QTC_ASSERT(index < threads.size(), return);
const int id = threads.at(index).id;
showStatusMessage(tr("Retrieving data for stack view thread 0x%1...").arg(id, 0, 16), 10000);
postCommand("-thread-select " + QByteArray::number(id),
showStatusMessage(tr("Retrieving data for stack view thread 0x%1...")
.arg(id, 0, 16), 10000);
postCommand("-thread-select " + QByteArray::number(id), Discardable,
CB(handleStackSelectThread));
}
......@@ -3027,7 +3028,7 @@ void GdbEngine::activateFrame(int frameIndex)
// after a response to this -stack-select-frame here.
handler->setCurrentIndex(frameIndex);
postCommand("-stack-select-frame " + QByteArray::number(frameIndex),
CB(handleStackSelectFrame));
Discardable, CB(handleStackSelectFrame));
gotoLocation(stackHandler()->currentFrame(), true);
updateLocals();
reloadRegisters();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment