MCPcopy Create free account
hub / github.com/KDE/kate / sourceBreakpointsForPath

Method sourceBreakpointsForPath

addons/gdbplugin/breakpointview.cpp:515–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513 }
514
515 [[nodiscard]] QList<dap::SourceBreakpoint> sourceBreakpointsForPath(const QUrl &url)
516 {
517 QList<FileBreakpoint> breakpoints;
518 for (const auto &b : std::as_const(m_lineBreakpoints)) {
519 if (b.isEnabled() && b.url == url) {
520 breakpoints.push_back(b);
521 }
522 }
523 return toSourceBreakpoints(breakpoints);
524 }
525
526 [[nodiscard]] QList<dap::SourceBreakpoint>
527 toggleBreakpoint(const QUrl &url, const dap::SourceBreakpoint &bp, bool isOneShot, std::optional<bool> breakpointEnabledChange)

Callers 2

Calls 1

isEnabledMethod · 0.45

Tested by

no test coverage detected