MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / launchBackend

Method launchBackend

src/plugins/debugger/dap/dapdebugger.cpp:1504–1516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1502}
1503
1504void 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
1518void DAPDebugger::stopWaitingDebugPort()
1519{

Callers

nothing calls this directly

Calls 3

isOpenMethod · 0.45
setProgramMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected