Extending Qt Creator Manual | DebuggerRunTool

Extending Qt Creator Manual 4.7.2

# DebuggerRunTool Class

(Debugger::Debugger::DebuggerRunTool)

- 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 Debugger::QString &signal)
void | addQmlServerInferiorCommandLineArgumentIfNeeded()
void | addSearchDirectory(const Debugger::QString &dir)
void | addSolibSearchDir(const Debugger::QString &str)
void | appendInferiorCommandLineArgument(const Debugger::QString &arg)
Internal::DebuggerEngine * | engine() const
bool | isCppDebugging() const
bool | isDying() const
bool | isQmlDebugging() const
void | notifyInferiorExited()
void | notifyInferiorIll()
Debugger::Debugger::GdbServerPortsGatherer * | portsGatherer() const
int | portsUsedByDebugger() const
void | prependInferiorCommandLineArgument(const Debugger::QString &arg)
void | quitDebugger()
const Internal::DebuggerRunParameters & | runParameters() const
void | setAttachPid(int pid)
void | setAttachPid(Debugger::qint64 pid)
void | setBreakOnMain(bool on)
void | setCloseMode(Debugger::DebuggerCloseMode closeMode)
void | setCommandsAfterConnect(const Debugger::QString &commands)
void | setCommandsForReset(const Debugger::QString &commands)
void | setContinueAfterAttach(bool on)
void | setCoreFileName(const Debugger::QString &core, bool isSnapshot = false)
void | setCrashParameter(const Debugger::QString &event)
void | setDebugInfoLocation(const Debugger::QString &debugInfoLocation)
void | setDeviceSymbolsRoot(const Debugger::QString &deviceSymbolsRoot)
void | setInferior(const ProjectExplorer::Runnable &runnable)
void | setInferiorDevice(int device)
void | setInferiorEnvironment(const Utils::Environment &env)
void | setInferiorExecutable(const Debugger::QString &executable)
void | setIosPlatform(const Debugger::QString &platform)
void | setOverrideStartScript(const Debugger::QString &script)
void | setQmlServer(const Debugger::QUrl &qmlServer)
void | setRemoteChannel(const Debugger::QString &channel)
void | setRemoteChannel(const Debugger::QString &host, int port)
void | setRemoteChannel(const Debugger::QUrl &url)
void | setRunControlName(const Debugger::QString &name)
void | setServerStartScript(const Debugger::QString &serverStartScript)
void | setSkipExecutableValidation(bool on)
void | setSolibSearchPath(const Debugger::QStringList &list)
void | setStartMessage(const Debugger::QString &msg)
void | setStartMode(Debugger::DebuggerStartMode startMode)
void | setSymbolFile(const Debugger::QString &symbolFile)
void | setSysRoot(const Debugger::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 Debugger::QString &msg, int channel = LogDebug, int timeout = -1)
void | start()
void | startDying()
void | startRunControl()
void | stop()
Internal::TerminalRunner * | terminalRunner() const

## Static Public Members

void | setBreakOnMainNextTime()

## 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()

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

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

### void DebuggerRunTool::addQmlServerInferiorCommandLineArgumentIfNeeded()

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

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

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

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

### bool DebuggerRunTool::isCppDebugging() const

### bool DebuggerRunTool::isDying() const

### bool DebuggerRunTool::isQmlDebugging() const

### void DebuggerRunTool::notifyInferiorExited()

### void DebuggerRunTool::notifyInferiorIll()

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

### int DebuggerRunTool::portsUsedByDebugger() const

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

### void DebuggerRunTool::quitDebugger()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### void DebuggerRunTool::setInferiorDevice(int device)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### void DebuggerRunTool::setSysRoot(const Debugger::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 Debugger::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