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

Method setExpression

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

Source from the content-addressed store, hash-verified

234}
235
236dap::optional<SetExpressionResponse> DebugSession::setExpression(
237 integer frameId, string &expression, string &value)
238{
239 if (!raw)
240 return undefined;
241
242 dap::SetExpressionRequest request;
243 request.frameId = frameId;
244 request.expression = expression;
245 request.value = value;
246 auto response = raw->setExpression(request);
247 if (response.valid())
248 return response.get().response;
249
250 return undefined;
251}
252
253dap::optional<GotoTargetsResponse> DebugSession::gotoTargets(
254 dap::Source &source, integer line, integer column)

Callers

nothing calls this directly

Calls 2

validMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected