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

By fixing a bug in CdbDebugEnginePrivate::setCodeLevel.

Reviewed-by: hjk
(cherry picked from commit 8bc81f4395)
This commit is contained in:
Christian Kamm
2009-08-27 14:12:42 +02:00
committed by con
parent 40439dc326
commit 53964f62d3

View File

@@ -400,7 +400,7 @@ bool CdbDebugEnginePrivate::setCodeLevel()
} }
if (debugCDB) if (debugCDB)
qDebug() << Q_FUNC_INFO << "\nSetting code level to " << codeLevelName(codeLevel) << " (was" << codeLevelName(currentCodeLevel) << ')'; qDebug() << Q_FUNC_INFO << "\nSetting code level to " << codeLevelName(codeLevel) << " (was" << codeLevelName(currentCodeLevel) << ')';
if (currentCodeLevel == currentCodeLevel) if (currentCodeLevel == codeLevel)
return false; return false;
hr = m_cif.debugControl->SetCodeLevel(codeLevel); hr = m_cif.debugControl->SetCodeLevel(codeLevel);
if (FAILED(hr)) { if (FAILED(hr)) {