[Lldb-commits] [lldb] [lldb] Introduce internal stop hooks (PR #164506)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 22 09:35:29 PDT 2025


jimingham wrote:

That is the reason for introducing this concept.  Note that stop hooks are orthogonal to breakpoints, in that breakpoints allow you to react to the program running certain code, whereas stop hooks allow you to react to stop reasons in a pluggable manner.  So this allows a plugin to react to a stop reason without having to put the behavior in the generic StopInfo::ShouldStop and PerformAction methods.  So they are a complement to what you can to with internal breakpoints.

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


More information about the lldb-commits mailing list