diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2009-08-27 14:12:42 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-09-01 12:30:18 +0200 |
commit | 53964f62d3eb7416af5f4a6afd6457b6fce755dc (patch) | |
tree | 015ff9b7abf842b6693b5d9facc7aa57ca9e8a61 | |
parent | 40439dc326d1f2a578a894dd98b7bab3ed44c63a (diff) |
Make 'step over' without stepping by instruction work with cdb.
By fixing a bug in CdbDebugEnginePrivate::setCodeLevel.
Reviewed-by: hjk
(cherry picked from commit 8bc81f4395e85b91fca4a7f2e12d7a36bd8f181b)
-rw-r--r-- | src/plugins/debugger/cdb/cdbdebugengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/cdb/cdbdebugengine.cpp b/src/plugins/debugger/cdb/cdbdebugengine.cpp index d6660fa093..44c739362d 100644 --- a/src/plugins/debugger/cdb/cdbdebugengine.cpp +++ b/src/plugins/debugger/cdb/cdbdebugengine.cpp @@ -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)) { |