Commit 1cd4ae94 authored by Aurindam Jana's avatar Aurindam Jana

QmlCppDebugger: Implement notifyInferiorIll()

Change-Id: I6d2091fff62eb0dabceda4da4eb49d2f63f99484
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
parent b809e805
......@@ -317,6 +317,19 @@ void QmlCppEngine::assignValueInDebugger(const WatchData *data,
d->m_activeEngine->assignValueInDebugger(data, expr, value);
}
void QmlCppEngine::notifyInferiorIll()
{
//This will eventually shutdown the engine
//Set final state to avoid quitDebugger() being called
//after this call
setTargetState(DebuggerFinished);
//Call notifyInferiorIll of cpp engine
//as qml engine will follow state transitions
//of cpp engine
d->m_cppEngine->notifyInferiorIll();
}
void QmlCppEngine::detachDebugger()
{
d->m_qmlEngine->detachDebugger();
......
......@@ -98,6 +98,8 @@ public:
Internal::QtMessageLogHandler *qtMessageLogHandler() const;
void notifyInferiorIll();
protected:
void detachDebugger();
void executeStep();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment