forked from qt-creator/qt-creator
Debugger: Use Utils::TreeModel as base for StackHandler
Change-Id: I3fcc1b3a149f15cf414a1560d91145b623e40c63 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1045,13 +1045,13 @@ void CdbEngine::activateFrame(int index)
|
||||
// TODO: assembler,etc
|
||||
if (index < 0)
|
||||
return;
|
||||
const StackFrames &frames = stackHandler()->frames();
|
||||
if (index >= frames.size()) {
|
||||
|
||||
if (stackHandler()->isSpecialFrame(index)) {
|
||||
reloadFullStack(); // Clicked on "More...".
|
||||
return;
|
||||
}
|
||||
|
||||
const StackFrame frame = frames.at(index);
|
||||
const StackFrame frame = stackHandler()->frameAt(index);
|
||||
if (frame.language != CppLanguage) {
|
||||
gotoLocation(frame);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user