Commit 8bc81f43 authored by Christian Kamm's avatar Christian Kamm

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

By fixing a bug in CdbDebugEnginePrivate::setCodeLevel.

Reviewed-by: hjk
parent 92d8a271
......@@ -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
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