Debugger: Make "debug last debugger command" available for cpp+qml

Change-Id: I0fe8025efc519def5cdd837a18928474ce7229cd
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2014-12-01 15:25:06 +01:00
parent a4a7a4b25f
commit 042ef1aec0
2 changed files with 7 additions and 0 deletions

View File

@@ -780,6 +780,12 @@ void QmlCppEngine::reloadDebuggingHelpers()
m_cppEngine->reloadDebuggingHelpers(); m_cppEngine->reloadDebuggingHelpers();
} }
void QmlCppEngine::debugLastCommand()
{
if (m_cppEngine)
m_cppEngine->debugLastCommand();
}
DebuggerEngine *QmlCppEngine::cppEngine() const DebuggerEngine *QmlCppEngine::cppEngine() const
{ {
return m_cppEngine; return m_cppEngine;

View File

@@ -98,6 +98,7 @@ public:
protected: protected:
void detachDebugger(); void detachDebugger();
void reloadDebuggingHelpers(); void reloadDebuggingHelpers();
void debugLastCommand();
void executeStep(); void executeStep();
void executeStepOut(); void executeStepOut();
void executeNext(); void executeNext();