forked from qt-creator/qt-creator
Cdb: Set frame when using the python engine
Change-Id: Ib84735b58f516dad14c992edba6a0c8e9005ecfc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1209,6 +1209,8 @@ void CdbEngine::activateFrame(int index)
|
|||||||
qPrintable(frame.file), frame.line);
|
qPrintable(frame.file), frame.line);
|
||||||
stackHandler()->setCurrentIndex(index);
|
stackHandler()->setCurrentIndex(index);
|
||||||
gotoLocation(frame);
|
gotoLocation(frame);
|
||||||
|
if (m_pythonVersion > 0x030000)
|
||||||
|
runCommand({".frame " + QString::number(index), NoFlags});
|
||||||
updateLocals();
|
updateLocals();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user