Extending Qt Creator Manual | DebuggerRunTool

Extending Qt Creator Manual 4.6.0

# DebuggerRunTool Class

(Debugger::DebuggerRunTool)

Inherits: | ProjectExplorer::RunWorker

- List of all members, including inherited members

## Public Functions

| DebuggerRunTool(ProjectExplorer::RunControl *runControl, ProjectExplorer::Kit *kit = nullptr, bool allowTerminal = true)
| ~DebuggerRunTool()
void | abortDebugger()
Internal::DebuggerEngine * | activeEngine() const
void | addExpectedSignal(const QString &signal)
void | addQmlServerInferiorCommandLineArgumentIfNeeded()
void | addSearchDirectory(const QString &dir)
void | addSolibSearchDir(const QString &str)
void | appendInferiorCommandLineArgument(const QString &arg)
Internal::DebuggerEngine * | engine() const
bool | isCppDebugging() const
bool | isDying() const
bool | isQmlDebugging() const
void | notifyInferiorIll()
GdbServerPortsGatherer * | portsGatherer() const
int | portsUsedByDebugger() const
void | prependInferiorCommandLineArgument(const QString &arg)
void | quitDebugger()
const Internal::DebuggerRunParameters & | runParameters() const
void | setAttachPid(Utils::ProcessHandle pid)
void | setAttachPid(qint64 pid)
void | setBreakOnMain(bool on)
void | setCloseMode(DebuggerCloseMode closeMode)
void | setCommandsAfterConnect(const QString &commands)
void | setCommandsForReset(const QString &commands)
void | setContinueAfterAttach(bool on)
void | setCoreFileName(const QString &core, bool isSnapshot = false)
void | setCrashParameter(const QString &event)
void | setDebugInfoLocation(const QString &debugInfoLocation)
void | setDeviceSymbolsRoot(const QString &deviceSymbolsRoot)
void | setInferior(const ProjectExplorer::Runnable &runnable)
void | setInferiorDevice(ProjectExplorer::IDevice::ConstPtr device)
void | setInferiorEnvironment(const Utils::Environment &env)
void | setInferiorExecutable(const QString &executable)
void | setIosPlatform(const QString &platform)
void | setOverrideStartScript(const QString &script)
void | setQmlServer(const QUrl &qmlServer)
void | setRemoteChannel(const QString &channel)
void | setRemoteChannel(const QString &host, int port)
void | setRemoteChannel(const QUrl &url)
void | setRunControlName(const QString &name)
void | setServerStartScript(const QString &serverStartScript)
void | setSkipExecutableValidation(bool on)
void | setSolibSearchPath(const QStringList &list)
void | setStartMessage(const QString &msg)
void | setStartMode(DebuggerStartMode startMode)
void | setSymbolFile(const QString &symbolFile)
void | setSysRoot(const QString &sysRoot)
void | setTestCase(int testCase)
void | setUseContinueInsteadOfRun(bool on)
void | setUseCtrlCStub(bool on)
void | setUseExtendedRemote(bool on)
void | setUsePortsGatherer(bool useCpp, bool useQml)
void | setUseTargetAsync(bool on)
void | setUseTerminal(bool on)
void | showMessage(const QString &msg, int channel = LogDebug, int timeout = -1)
void | start() override
void | startDying()
void | startRunControl()
void | stop() override
Internal::TerminalRunner * | terminalRunner() const

- 23 public functions inherited from ProjectExplorer::RunWorker

## Signals

void | aboutToNotifyInferiorSetupOk()

- 2 signals inherited from ProjectExplorer::RunWorker

## Static Public Members

void | setBreakOnMainNextTime()

- 1 static public member inherited from ProjectExplorer::RunWorker

## Member Function Documentation

### DebuggerRunTool::DebuggerRunTool(ProjectExplorer::RunControl *runControl, ProjectExplorer::Kit *kit = nullptr, bool allowTerminal = true)

Default constructs an instance of DebuggerRunTool.

### DebuggerRunTool::~DebuggerRunTool()

Destroys the instance of DebuggerRunTool.

### void DebuggerRunTool::abortDebugger()

### `[signal]` void DebuggerRunTool::aboutToNotifyInferiorSetupOk()

### Internal::DebuggerEngine *DebuggerRunTool::activeEngine() const

### void DebuggerRunTool::addExpectedSignal(const QString &signal)

### void DebuggerRunTool::addQmlServerInferiorCommandLineArgumentIfNeeded()

### void DebuggerRunTool::addSearchDirectory(const QString &dir)

### void DebuggerRunTool::addSolibSearchDir(const QString &str)

### void DebuggerRunTool::appendInferiorCommandLineArgument(const QString &arg)

### Internal::DebuggerEngine *DebuggerRunTool::engine() const

### bool DebuggerRunTool::isCppDebugging() const

### bool DebuggerRunTool::isDying() const

### bool DebuggerRunTool::isQmlDebugging() const

### void DebuggerRunTool::notifyInferiorIll()

### GdbServerPortsGatherer *DebuggerRunTool::portsGatherer() const

### int DebuggerRunTool::portsUsedByDebugger() const

### void DebuggerRunTool::prependInferiorCommandLineArgument(const QString &arg)

### void DebuggerRunTool::quitDebugger()

### const Internal::DebuggerRunParameters &DebuggerRunTool::runParameters() const

### void DebuggerRunTool::setAttachPid(Utils::ProcessHandle pid)

### void DebuggerRunTool::setAttachPid(qint64 pid)

### void DebuggerRunTool::setBreakOnMain(bool on)

### `[static]` void DebuggerRunTool::setBreakOnMainNextTime()

### void DebuggerRunTool::setCloseMode(DebuggerCloseMode closeMode)

### void DebuggerRunTool::setCommandsAfterConnect(const QString &commands)

### void DebuggerRunTool::setCommandsForReset(const QString &commands)

### void DebuggerRunTool::setContinueAfterAttach(bool on)

### void DebuggerRunTool::setCoreFileName(const QString &core, bool isSnapshot = false)

### void DebuggerRunTool::setCrashParameter(const QString &event)

### void DebuggerRunTool::setDebugInfoLocation(const QString &debugInfoLocation)

### void DebuggerRunTool::setDeviceSymbolsRoot(const QString &deviceSymbolsRoot)

### void DebuggerRunTool::setInferior(const ProjectExplorer::Runnable &runnable)

### void DebuggerRunTool::setInferiorDevice(ProjectExplorer::IDevice::ConstPtr device)

### void DebuggerRunTool::setInferiorEnvironment(const Utils::Environment &env)

### void DebuggerRunTool::setInferiorExecutable(const QString &executable)

### void DebuggerRunTool::setIosPlatform(const QString &platform)

### void DebuggerRunTool::setOverrideStartScript(const QString &script)

### void DebuggerRunTool::setQmlServer(const QUrl &qmlServer)

### void DebuggerRunTool::setRemoteChannel(const QString &channel)

### void DebuggerRunTool::setRemoteChannel(const QString &host, int port)

### void DebuggerRunTool::setRemoteChannel(const QUrl &url)

### void DebuggerRunTool::setRunControlName(const QString &name)

### void DebuggerRunTool::setServerStartScript(const QString &serverStartScript)

### void DebuggerRunTool::setSkipExecutableValidation(bool on)

### void DebuggerRunTool::setSolibSearchPath(const QStringList &list)

### void DebuggerRunTool::setStartMessage(const QString &msg)

### void DebuggerRunTool::setStartMode(DebuggerStartMode startMode)

### void DebuggerRunTool::setSymbolFile(const QString &symbolFile)

### void DebuggerRunTool::setSysRoot(const QString &sysRoot)

### void DebuggerRunTool::setTestCase(int testCase)

### void DebuggerRunTool::setUseContinueInsteadOfRun(bool on)

### void DebuggerRunTool::setUseCtrlCStub(bool on)

### void DebuggerRunTool::setUseExtendedRemote(bool on)

### void DebuggerRunTool::setUsePortsGatherer(bool useCpp, bool useQml)

### void DebuggerRunTool::setUseTargetAsync(bool on)

### void DebuggerRunTool::setUseTerminal(bool on)

### void DebuggerRunTool::showMessage(const QString &msg, int channel = LogDebug, int timeout = -1)

### void DebuggerRunTool::start()

### void DebuggerRunTool::startDying()

### void DebuggerRunTool::startRunControl()

### void DebuggerRunTool::stop()

### Internal::TerminalRunner *DebuggerRunTool::terminalRunner() const