| 1502 | } |
| 1503 | |
| 1504 | void DAPDebugger::launchBackend() |
| 1505 | { |
| 1506 | // launch backend by client. |
| 1507 | if (d->backend.isOpen()) |
| 1508 | return; |
| 1509 | |
| 1510 | QString toolPath = CustomPaths::global(CustomPaths::Tools); |
| 1511 | QString backendPath = toolPath + QDir::separator() + "debugadapter"; |
| 1512 | |
| 1513 | d->backend.setProgram(backendPath); |
| 1514 | d->backend.start(); |
| 1515 | d->backend.waitForStarted(); |
| 1516 | } |
| 1517 | |
| 1518 | void DAPDebugger::stopWaitingDebugPort() |
| 1519 | { |
nothing calls this directly
no test coverage detected