forked from qt-creator/qt-creator
Debugger: Disable stepping from QML->CPP for the time being
Change-Id: Iafcc460a374bada67609dc1210cc1b787d267bfa Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user