Commit 68ac850f authored by David Schulz's avatar David Schulz
Browse files

Debugger: Fix command setting active frame

Using this command without prefix and with the 0n decimal prefix
resulted in unreliable frame selection. Last chance is the hexadecimal

Change-Id: I935d88849eb541534d4f311ac6059bcd35aee62c
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent e0cb6974
...@@ -1210,7 +1210,7 @@ void CdbEngine::activateFrame(int index) ...@@ -1210,7 +1210,7 @@ void CdbEngine::activateFrame(int index)
stackHandler()->setCurrentIndex(index); stackHandler()->setCurrentIndex(index);
gotoLocation(frame); gotoLocation(frame);
if (m_pythonVersion > 0x030000) if (m_pythonVersion > 0x030000)
runCommand({".frame " + QString::number(index), NoFlags}); runCommand({".frame 0x" + QString::number(index, 16), NoFlags});
updateLocals(); updateLocals();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment