forked from qt-creator/qt-creator
QmlCppDebugger: Implement notifyInferiorIll()
Change-Id: I6d2091fff62eb0dabceda4da4eb49d2f63f99484 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user