OSDN Git Service

QmlCppDebugger: frame change now managed by DebuggerEngine
authorChristiaan Janssen <christiaan.janssen@nokia.com>
Wed, 2 Feb 2011 12:35:42 +0000 (13:35 +0100)
committerChristiaan Janssen <christiaan.janssen@nokia.com>
Wed, 2 Feb 2011 12:39:11 +0000 (13:39 +0100)
reviewed-by: hjk

src/plugins/debugger/qml/qmlcppengine.cpp
src/plugins/debugger/qml/qmlcppengine.h

index e3ebb7e..91fac94 100644 (file)
@@ -171,6 +171,7 @@ void QmlCppEngine::activateFrame(int index)
         d->m_qmlEngine->activateFrame(index - d->m_stackBoundary);
     else
         d->m_cppEngine->activateFrame(index);
+    stackHandler()->setCurrentIndex(index);
 }
 
 void QmlCppEngine::reloadModules()
@@ -369,16 +370,6 @@ void QmlCppEngine::executeDebuggerCommand(const QString &command)
     d->m_cppEngine->executeDebuggerCommand(command);
 }
 
-void QmlCppEngine::frameUp()
-{
-    d->m_activeEngine->frameUp();
-}
-
-void QmlCppEngine::frameDown()
-{
-    d->m_activeEngine->frameDown();
-}
-
 /////////////////////////////////////////////////////////
 
 void QmlCppEngine::setupEngine()
index a3e652e..20fb497 100644 (file)
@@ -75,9 +75,6 @@ protected:
     void executeJumpToLine(const QString &fileName, int lineNumber);
     void executeDebuggerCommand(const QString &command);
 
-    void frameUp();
-    void frameDown();
-
     void setupEngine();
     void setupInferior();
     void runEngine();