Debugger: Implement stack frame switching with LLDB

Change-ID: I6efed5ffdccc5ce0aa13b1e7296137396ca28efe
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-05-24 10:14:11 +02:00
parent 7fe9bcdb07
commit 8ffb0c7c1f
2 changed files with 10 additions and 4 deletions

View File

@@ -855,6 +855,9 @@ void LldbEngine::refreshStack(const GdbMi &stack)
bool canExpand = stack["hasmore"].toInt();
debuggerCore()->action(ExpandStack)->setEnabled(canExpand);
handler->setFrames(frames);
int index = stack["current-frame"].toInt();
handler->setCurrentIndex(index);
}
void LldbEngine::refreshRegisters(const GdbMi &registers)