[Lldb-commits] [lldb] Add SBDebugger::AddCreateCallback API (PR #111206)

via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 7 10:01:01 PDT 2024


jimingham wrote:

I'm of two minds about this.  OTOH, it is certainly useful to be able to observe Debugger creation.  OTOH, it would be equally useful to be able to observe Target creation and Process creation and probably other "debugger lifecycle" events.

One of the tasks I've not had time to get to yet is to make a "debugger lifecycle" extension to "target stop-hook" where you can add hooks to all these other lifecycle events.

I worry a little bit that backing into such a system piecemeal will make the ultimate structure harder to implement.

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


More information about the lldb-commits mailing list