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

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 12 11:44:08 PDT 2025


satyajanga wrote:

> > tools/lldb-dap/attach/TestDAP_attach.py : creates function breakpoints tests that they are hit.
> > tools/lldb-dap/breakpoint/TestDAP_setFunctionBreakpoints.py also creates breakpoints tests that they are hit.
> 
> Are these two tests checking "reason" field in stopped DAP event?

Yes. They call the `DAPTestCaseBase.verify_breakpoint_hit` it validates the description and reason (indirectly).

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


More information about the lldb-commits mailing list