diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index 02687b21867..d958143ac54 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -505,6 +505,13 @@ void QmlCppEngine::shutdownEngine() d->m_cppEngine->shutdownSlaveEngine(); } +void QmlCppEngine::abortDebugger() +{ + EDEBUG("\nMASTER ABORT DEBUGGER"); + d->m_qmlEngine->abortDebugger(); + d->m_cppEngine->abortDebugger(); +} + void QmlCppEngine::setState(DebuggerState newState, bool forced) { EDEBUG("SET MASTER STATE: " << newState); diff --git a/src/plugins/debugger/qml/qmlcppengine.h b/src/plugins/debugger/qml/qmlcppengine.h index 2b3b01bf6ae..ab5eb90830b 100644 --- a/src/plugins/debugger/qml/qmlcppengine.h +++ b/src/plugins/debugger/qml/qmlcppengine.h @@ -118,6 +118,7 @@ protected: void runEngine(); void shutdownInferior(); void shutdownEngine(); + void abortDebugger(); void notifyInferiorRunOk(); void notifyInferiorSpontaneousStop();