diff options
author | Aurindam Jana <aurindam.jana@nokia.com> | 2012-02-23 12:33:04 +0100 |
---|---|---|
committer | Aurindam Jana <aurindam.jana@nokia.com> | 2012-02-23 14:05:34 +0100 |
commit | 1cd4ae9488dfcfb6caa264309d754d1b45978115 (patch) | |
tree | 88f8a8bacd9ad4dc25c8a90b57661b48ab5b33a8 /src/plugins/debugger/qml/qmlcppengine.cpp | |
parent | b809e805aa4fc7673ce1dd7e8c47563db869634b (diff) | |
download | qt-creator-1cd4ae9488dfcfb6caa264309d754d1b45978115.tar.gz |
QmlCppDebugger: Implement notifyInferiorIll()
Change-Id: I6d2091fff62eb0dabceda4da4eb49d2f63f99484
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlcppengine.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlcppengine.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index 17a820b0bd..fbc7c1f78b 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -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(); |