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

Method sendBreakpoints

src/plugins/debugger/dap/debugservice.cpp:81–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void DebugService::sendBreakpoints(dap::optional<QUrl> uri, DebugSession *session, bool sourceModified)
82{
83 Q_UNUSED(sourceModified)
84 if (!uri.has_value()) {
85 dap::array<IBreakpoint> empty;
86 session->sendBreakpoints({}, empty);
87 } else {
88 auto breakpointsToSend = model->getBreakpoints(uri, undefined, undefined, true);
89 session->sendBreakpoints(uri->path(), breakpointsToSend);
90 }
91}
92
93void DebugService::sendFunctionBreakpoints(DebugSession *session)
94{

Callers

nothing calls this directly

Calls 3

has_valueMethod · 0.80
getBreakpointsMethod · 0.80
pathMethod · 0.45

Tested by

no test coverage detected