================
@@ -1062,6 +1063,16 @@ void request_breakpointLocations(const
llvm::json::Object &request) {
continue;
if (line == end_line && column > end_column)
continue;
+
+ // Make sure we are in the right file.
+ // We might have a match on line & column range and still
+ // be in the wrong file, e.g. for included files.
+ if (std::string_view(line_entry.GetFileSpec().GetFilename()) !=
----------------
vogelsgesang wrote:
Thanks for that background. Fixed.
https://github.com/llvm/llvm-project/pull/113787
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits