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:
Alexandru Croitor
2016-02-10 12:53:45 +01:00
parent 80d93ab52a
commit 357e7ee965

View File

@@ -542,11 +542,7 @@ void LldbEngine::selectThread(ThreadId threadId)
DebuggerCommand cmd("selectThread");
cmd.arg("id", threadId.raw());
cmd.callback = [this](const DebuggerResponse &) {
DebuggerCommand cmd("fetchStack");
cmd.arg("nativemixed", isNativeMixedActive());
cmd.arg("stacklimit", action(MaximalStackDepth)->value().toInt());
runCommand(cmd);
updateLocals();
fetchStack(action(MaximalStackDepth)->value().toInt());
};
runCommand(cmd);
}