| 79 | } |
| 80 | |
| 81 | void DebugService::sendBreakpoints(dap::optional<QUrl> uri, DebugSession *session, bool sourceModified) |
| 82 | { |
| 83 | Q_UNUSED(sourceModified) |
| 84 | if (!uri.has_value()) { |
| 85 | dap::array<IBreakpoint> empty; |
| 86 | session->sendBreakpoints({}, empty); |
| 87 | } else { |
| 88 | auto breakpointsToSend = model->getBreakpoints(uri, undefined, undefined, true); |
| 89 | session->sendBreakpoints(uri->path(), breakpointsToSend); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | void DebugService::sendFunctionBreakpoints(DebugSession *session) |
| 94 | { |
nothing calls this directly
no test coverage detected