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

Method variables

src/plugins/debugger/dap/debugsession.cpp:701–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700
701dap::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
726dap::optional<EvaluateResponse> DebugSession::evaluate(string &expression, integer frameId, dap::optional<string> context)
727{

Callers 2

addMacroExpanderMethod · 0.45
getVariablesMethod · 0.45

Calls 2

validMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected