[Lldb-commits] [lldb] Add SBDebugger:: AddNotificationCallback API (PR #111206)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 8 14:53:59 PDT 2024
================
@@ -569,6 +569,18 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
SetDestroyCallback(lldb_private::DebuggerDestroyCallback destroy_callback,
void *baton);
+ /// Add a notification callback when notification type event happens. Return a
----------------
jimingham wrote:
Read literally this says you are adding the notification callback when the event happens. Maybe:
Add a notification callback that will trigger when an event of the given NotificationType occurs.
You should also state when the creation and destruction callbacks trigger w.r.t. the action the event is reporting. I.e. Creation callbacks trigger synchronously after the given object is fully set up, and Destruction callbacks trigger right before the object is destroyed.
https://github.com/llvm/llvm-project/pull/111206
More information about the lldb-commits
mailing list