Commit 53964f62 authored by Christian Kamm's avatar Christian Kamm Committed by con

Make 'step over' without stepping by instruction work with cdb.

By fixing a bug in CdbDebugEnginePrivate::setCodeLevel.

Reviewed-by: hjk
(cherry picked from commit 8bc81f43)
parent 40439dc3
......@@ -400,7 +400,7 @@ bool CdbDebugEnginePrivate::setCodeLevel()
if (debugCDB)
qDebug() << Q_FUNC_INFO << "\nSetting code level to " << codeLevelName(codeLevel) << " (was" << codeLevelName(currentCodeLevel) << ')';
if (currentCodeLevel == currentCodeLevel)
if (currentCodeLevel == codeLevel)
return false;
hr = m_cif.debugControl->SetCodeLevel(codeLevel);
if (FAILED(hr)) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment