| 563 | } |
| 564 | |
| 565 | dap::optional<DataBreakpointInfoResponse> DebugSession::dataBreakpointInfo( |
| 566 | string &name, dap::optional<integer> variablesReference) |
| 567 | { |
| 568 | if (!raw) |
| 569 | return undefined; |
| 570 | |
| 571 | if (!raw->readyForBreakpoints()) { |
| 572 | qInfo() << "break point not ready!"; |
| 573 | return undefined; |
| 574 | } |
| 575 | |
| 576 | DataBreakpointInfoRequest request; |
| 577 | request.name = name; |
| 578 | request.variablesReference = variablesReference; |
| 579 | auto response = raw->dataBreakpointInfo(request); |
| 580 | return response.get().response; |
| 581 | } |
| 582 | |
| 583 | void convertTodbp(const array<IDataBreakpoint> &dataBreakpoints, array<DataBreakpoint> &result) |
| 584 | { |
nothing calls this directly
no test coverage detected