| 162 | } |
| 163 | |
| 164 | void DebugManager::execute() |
| 165 | { |
| 166 | initProcess(); |
| 167 | |
| 168 | foreach (auto arg, d->debugger->preArguments()) { |
| 169 | d->arguments.prepend(arg); |
| 170 | } |
| 171 | d->process->setArguments(d->arguments); |
| 172 | d->process->setProgram(d->debugger->program()); |
| 173 | d->process->setEnvironment(d->environment); |
| 174 | d->process->start(); |
| 175 | |
| 176 | //init after process started |
| 177 | d->debugger->init(); |
| 178 | } |
| 179 | |
| 180 | bool DebugManager::command(const QString &cmd, bool interrupt) |
| 181 | { |
nothing calls this directly
no test coverage detected