summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-02-10 12:53:45 +0100
committerAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-02-24 16:32:17 +0000
commit357e7ee96504173f9d5afffe6081fed1f6bf063e (patch)
tree0f40cf2b0001bbb15be65daa677fc52d9783a1de
parent80d93ab52a749216360f0082b9aa9e741a340a99 (diff)
downloadqt-creator-357e7ee96504173f9d5afffe6081fed1f6bf063e.tar.gz
Debugger: Fix switching between threads not updating stack pane.
Task-number: QTCREATORBUG-15587 Change-Id: I41b2025e26d79ca0acf12d8d6468786f5dd121b2 Reviewed-by: hjk <hjk@theqtcompany.com>
-rw-r--r--src/plugins/debugger/lldb/lldbengine.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/debugger/lldb/lldbengine.cpp b/src/plugins/debugger/lldb/lldbengine.cpp
index 0a39df0856..769594a211 100644
--- a/src/plugins/debugger/lldb/lldbengine.cpp
+++ b/src/plugins/debugger/lldb/lldbengine.cpp
@@ -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);
}