summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-11-17 09:39:07 +0100
committerhjk <hjk121@nokiamail.com>2014-11-17 10:41:35 +0100
commit17c92cdeef9e76ae4f5ff2643b98aa2c8d81f071 (patch)
treee4fa6b667957bab7de7c1f5090354e99c78ee15d
parentaee3c2f53123ceb69bdae91daf2dddedaaee0f2d (diff)
downloadqt-creator-17c92cdeef9e76ae4f5ff2643b98aa2c8d81f071.tar.gz
Debugger: Don't retrieve full stack on frame switch with LLDB
Unneeded effort and also re-sets the marker to the top frame somewhat spoiling part of the result. Change-Id: Iebaa52dc8c0703f3245cac2ca15b942e3006993a Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--src/plugins/debugger/lldb/lldbengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/lldb/lldbengine.cpp b/src/plugins/debugger/lldb/lldbengine.cpp
index d891cd83c2..affa220646 100644
--- a/src/plugins/debugger/lldb/lldbengine.cpp
+++ b/src/plugins/debugger/lldb/lldbengine.cpp
@@ -519,7 +519,8 @@ void LldbEngine::activateFrame(int frameIndex)
cmd.arg("thread", threadsHandler()->currentThread().raw());
runCommand(cmd);
- updateAll();
+ reloadRegisters();
+ updateLocals();
}
void LldbEngine::selectThread(ThreadId threadId)