Cdb: Set frame when using the python engine

Change-Id: Ib84735b58f516dad14c992edba6a0c8e9005ecfc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2016-10-20 14:33:42 +02:00
parent 07c5cf3a83
commit 4e06822fc5

View File

@@ -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();
} }