forked from qt-creator/qt-creator
Debugger: Merge EngineSetup and InferiorSetup start phases
It was needed in the past to trigger e.g. gdbserver setup in remote cases which is nowadays handled by separate RunWorkers. Change-Id: I30bce071dab0779cce2e7abef7b31550d8539461 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -322,16 +322,6 @@ void QmlEngine::setState(DebuggerState state, bool forced)
|
||||
updateCurrentContext();
|
||||
}
|
||||
|
||||
void QmlEngine::setupInferior()
|
||||
{
|
||||
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
|
||||
|
||||
notifyInferiorSetupOk();
|
||||
|
||||
if (d->automaticConnect)
|
||||
beginConnection();
|
||||
}
|
||||
|
||||
void QmlEngine::handleLauncherStarted()
|
||||
{
|
||||
// FIXME: The QmlEngine never calls notifyInferiorPid() triggering the
|
||||
@@ -593,6 +583,9 @@ void QmlEngine::shutdownEngine()
|
||||
void QmlEngine::setupEngine()
|
||||
{
|
||||
notifyEngineSetupOk();
|
||||
|
||||
if (d->automaticConnect)
|
||||
beginConnection();
|
||||
}
|
||||
|
||||
void QmlEngine::continueInferior()
|
||||
|
||||
Reference in New Issue
Block a user