From 042ef1aec0e04d2568c30ab19c1f89720ed8da3e Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 1 Dec 2014 15:25:06 +0100 Subject: [PATCH] Debugger: Make "debug last debugger command" available for cpp+qml Change-Id: I0fe8025efc519def5cdd837a18928474ce7229cd Reviewed-by: Christian Stenger --- src/plugins/debugger/qml/qmlcppengine.cpp | 6 ++++++ src/plugins/debugger/qml/qmlcppengine.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index 2a5836fa102..2d00fba8bc0 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -780,6 +780,12 @@ void QmlCppEngine::reloadDebuggingHelpers() m_cppEngine->reloadDebuggingHelpers(); } +void QmlCppEngine::debugLastCommand() +{ + if (m_cppEngine) + m_cppEngine->debugLastCommand(); +} + DebuggerEngine *QmlCppEngine::cppEngine() const { return m_cppEngine; diff --git a/src/plugins/debugger/qml/qmlcppengine.h b/src/plugins/debugger/qml/qmlcppengine.h index 990cffc4b8d..9c686b54985 100644 --- a/src/plugins/debugger/qml/qmlcppengine.h +++ b/src/plugins/debugger/qml/qmlcppengine.h @@ -98,6 +98,7 @@ public: protected: void detachDebugger(); void reloadDebuggingHelpers(); + void debugLastCommand(); void executeStep(); void executeStepOut(); void executeNext();