forked from qt-creator/qt-creator
Debugger: Provide a way for plugins to init a local DebuggerRunControl
In order for plugins to create their own local DebuggerRunControl without the need to copy lots of code, the fillParametersFromRunConfiguration is introduced and exported. Change-Id: I50edc3f6f048a9f34e358b4104ef75c94c74dbb8 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Benjamin Zeller <benjamin.zeller@canonical.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include <utils/environment.h>
|
||||
#include <projectexplorer/abi.h>
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
#include <projectexplorer/devicesupport/idevice.h>
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -73,6 +74,7 @@ class DEBUGGER_EXPORT DebuggerStartParameters
|
||||
public:
|
||||
DebuggerStartParameters()
|
||||
: masterEngineType(NoEngineType),
|
||||
cppEngineType(NoEngineType),
|
||||
runConfiguration(0),
|
||||
attachPID(-1),
|
||||
useTerminal(false),
|
||||
@@ -91,6 +93,7 @@ public:
|
||||
{}
|
||||
|
||||
DebuggerEngineType masterEngineType;
|
||||
DebuggerEngineType cppEngineType;
|
||||
QString sysRoot;
|
||||
QString deviceSymbolsRoot;
|
||||
QString debuggerCommand;
|
||||
|
||||
Reference in New Issue
Block a user