[Lldb-commits] [lldb] Make breakpoint stop reason more accurate for function breakpoints (PR #130841)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 17 20:09:00 PDT 2025


https://github.com/clayborg commented:

Pretty good start. There can be more than one breakpoint at a location and we need to be sure we test these cases. Like we can have an exception breakpoint (which might be at `cxa_throw`) and we can have a function breakpoint for this as well. We need to make sure we document how we are doing to display this. If we must pick one, then lets be clear about:
- exception breakpoints take precedence
- then function breakpoints
- then source file and line breakpoints

If we have a free form text we can attach to the stop notification it might be nice to see "function breakpoint & exception breakpoint", but if we have to pick just one, then we need to be clear about what we are going to do.

https://github.com/llvm/llvm-project/pull/130841


More information about the lldb-commits mailing list