forked from qt-creator/qt-creator
Debugger: Make language to debug (QML/CPP) explicit
Make the choice of language part of the DebuggerStartParameters, instead of deriving it indirectly from the current project. This prevents e.g. the QmlCppEngine to be used when loading core files. Change-Id: I9d1c9ab318ba789abe3a6ea0478ebda71857e793 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -373,12 +373,12 @@ void QmlEngine::runEngine()
|
||||
{
|
||||
QTC_ASSERT(state() == EngineRunRequested, qDebug() << state());
|
||||
|
||||
if (!isSlaveEngine() && startParameters().startMode != AttachToRemoteServer
|
||||
&& startParameters().startMode != AttachToQmlPort)
|
||||
startApplicationLauncher();
|
||||
|
||||
if (startParameters().startMode == AttachToQmlPort)
|
||||
beginConnection();
|
||||
if (!isSlaveEngine()) {
|
||||
if (startParameters().startMode != AttachToRemoteServer)
|
||||
startApplicationLauncher();
|
||||
else
|
||||
beginConnection();
|
||||
}
|
||||
}
|
||||
|
||||
void QmlEngine::startApplicationLauncher()
|
||||
|
||||
Reference in New Issue
Block a user