Commit be35fecf authored by Kai Koehne's avatar Kai Koehne

Debugger: Disable stepping from QML->CPP for the time being

Change-Id: Iafcc460a374bada67609dc1210cc1b787d267bfa
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent f8700f19
......@@ -322,14 +322,18 @@ void QmlCppEngine::detachDebugger()
void QmlCppEngine::executeStep()
{
if (d->m_activeEngine == d->m_qmlEngine) {
QTC_CHECK(d->m_cppEngine->state() == InferiorRunOk);
if (d->m_cppEngine->setupQmlStep(true))
return; // Wait for callback to readyToExecuteQmlStep()
} else {
notifyInferiorRunRequested();
d->m_cppEngine->executeStep();
}
// TODO: stepping from qml -> cpp requires more thought
// if (d->m_activeEngine == d->m_qmlEngine) {
// QTC_CHECK(d->m_cppEngine->state() == InferiorRunOk);
// if (d->m_cppEngine->setupQmlStep(true))
// return; // Wait for callback to readyToExecuteQmlStep()
// } else {
// notifyInferiorRunRequested();
// d->m_cppEngine->executeStep();
// }
notifyInferiorRunRequested();
d->m_activeEngine->executeStep();
}
void QmlCppEngine::readyToExecuteQmlStep()
......
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