================ @@ -1620,6 +1620,88 @@ void DAP::EventThread() { } } +std::vector<protocol::Breakpoint> DAP::SetSourceBreakpoints( + const protocol::Source &source, + const std::optional<std::vector<protocol::SourceBreakpoint>> &breakpoints) { + std::vector<protocol::Breakpoint> response_breakpoints; + if (source.sourceReference) { + // breakpoint set by assembly source. + auto &existing_breakpoints = + m_source_assembly_breakpoints[*source.sourceReference]; + response_breakpoints = + SetSourceBreakpoints(source, breakpoints, existing_breakpoints); + } else { + // breakpoint set by a regular source file. ---------------- JDevlieghere wrote:
```suggestion // Breakpoint set by a regular source file. ``` https://github.com/llvm/llvm-project/pull/139969 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits