| 46 | } |
| 47 | |
| 48 | dap::array<IBreakpoint> DebugService::removeBreakpoints( |
| 49 | const QString &filePath, int lineNumber, dap::optional<DebugSession *> session) |
| 50 | { |
| 51 | auto breakpoints = model->removeBreakpoint(filePath, lineNumber); |
| 52 | if (session) |
| 53 | sendBreakpoints(QUrl(filePath), session.value()); |
| 54 | |
| 55 | return breakpoints; |
| 56 | } |
| 57 | |
| 58 | void DebugService::switchBreakpointStatus(const QString &filePath, int lineNumber, bool status, |
| 59 | dap::optional<DebugSession *> session) |
no test coverage detected