| 699 | } |
| 700 | |
| 701 | dap::optional<VariablesResponse> DebugSession::variables( |
| 702 | integer variablesReference, |
| 703 | dap::optional<integer> threadId, |
| 704 | dap::optional<string> filter, |
| 705 | dap::optional<integer> start, |
| 706 | dap::optional<integer> count) |
| 707 | { |
| 708 | Q_UNUSED(threadId) |
| 709 | |
| 710 | if (!raw) |
| 711 | return undefined; |
| 712 | |
| 713 | VariablesRequest request; |
| 714 | request.count = count; |
| 715 | request.filter = filter; |
| 716 | request.start = start; |
| 717 | request.variablesReference = variablesReference; |
| 718 | |
| 719 | auto response = raw->variables(request); |
| 720 | if (response.valid()) { |
| 721 | return response.get().response; |
| 722 | } |
| 723 | return undefined; |
| 724 | } |
| 725 | |
| 726 | dap::optional<EvaluateResponse> DebugSession::evaluate(string &expression, integer frameId, dap::optional<string> context) |
| 727 | { |
no test coverage detected