forked from qt-creator/qt-creator
Debugger: Fix switching between threads not updating stack pane.
Task-number: QTCREATORBUG-15587 Change-Id: I41b2025e26d79ca0acf12d8d6468786f5dd121b2 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -542,11 +542,7 @@ void LldbEngine::selectThread(ThreadId threadId)
|
|||||||
DebuggerCommand cmd("selectThread");
|
DebuggerCommand cmd("selectThread");
|
||||||
cmd.arg("id", threadId.raw());
|
cmd.arg("id", threadId.raw());
|
||||||
cmd.callback = [this](const DebuggerResponse &) {
|
cmd.callback = [this](const DebuggerResponse &) {
|
||||||
DebuggerCommand cmd("fetchStack");
|
fetchStack(action(MaximalStackDepth)->value().toInt());
|
||||||
cmd.arg("nativemixed", isNativeMixedActive());
|
|
||||||
cmd.arg("stacklimit", action(MaximalStackDepth)->value().toInt());
|
|
||||||
runCommand(cmd);
|
|
||||||
updateLocals();
|
|
||||||
};
|
};
|
||||||
runCommand(cmd);
|
runCommand(cmd);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user