summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/debugger/cdb/cdbengine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index 96727efea1..15d82c3436 100644
--- a/src/plugins/debugger/cdb/cdbengine.cpp
+++ b/src/plugins/debugger/cdb/cdbengine.cpp
@@ -1209,6 +1209,8 @@ void CdbEngine::activateFrame(int index)
qPrintable(frame.file), frame.line);
stackHandler()->setCurrentIndex(index);
gotoLocation(frame);
+ if (m_pythonVersion > 0x030000)
+ runCommand({".frame " + QString::number(index), NoFlags});
updateLocals();
}