summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggerstartparameters.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2012-02-01 09:03:05 +0100
committerhjk <qthjk@ovi.com>2012-02-01 12:14:02 +0100
commitfe8cead2d004e5a571bd8a65f91757db2c34a12c (patch)
treec6710f6d0e823f3a6801aac7d9fa568d6695cfc5 /src/plugins/debugger/debuggerstartparameters.h
parente46a5579d368162034813cc4b27d8d5c9f0716d9 (diff)
downloadqt-creator-fe8cead2d004e5a571bd8a65f91757db2c34a12c.tar.gz
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>
Diffstat (limited to 'src/plugins/debugger/debuggerstartparameters.h')
-rw-r--r--src/plugins/debugger/debuggerstartparameters.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerstartparameters.h b/src/plugins/debugger/debuggerstartparameters.h
index 668458d265..2b5b25332a 100644
--- a/src/plugins/debugger/debuggerstartparameters.h
+++ b/src/plugins/debugger/debuggerstartparameters.h
@@ -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;