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:
@@ -61,6 +61,7 @@ public:
|
||||
attachPID(-1),
|
||||
useTerminal(false),
|
||||
breakOnMain(false),
|
||||
languages(AnyLanguage),
|
||||
qmlServerAddress(QLatin1String("127.0.0.1")),
|
||||
qmlServerPort(ProjectExplorer::Constants::QML_DEFAULT_DEBUG_SERVER_PORT),
|
||||
useServerStartScript(false),
|
||||
@@ -87,6 +88,7 @@ public:
|
||||
qint64 attachPID;
|
||||
bool useTerminal;
|
||||
bool breakOnMain;
|
||||
DebuggerLanguages languages;
|
||||
|
||||
// Used by AttachCrashedExternal.
|
||||
QString crashParameter;
|
||||
@@ -98,6 +100,7 @@ public:
|
||||
QString projectBuildDirectory;
|
||||
QStringList projectSourceFiles;
|
||||
|
||||
|
||||
QString qtInstallPath;
|
||||
// Used by remote debugging.
|
||||
QString remoteChannel;
|
||||
|
||||
Reference in New Issue
Block a user