================
@@ -986,6 +987,42 @@ class LLDB_API SBTarget {
lldb::SBMutex GetAPIMutex() const;
+ /// Register a scripted frame provider for this target.
+ /// If a scripted frame provider with the same name is already registered on
+ /// this target, it will be overwritten.
+ ///
+ /// \param[in] class_name
+ /// The name of the Python class that implements the frame provider.
+ ///
+ /// \param[in] args_dict
+ /// A dictionary of arguments to pass to the frame provider class.
+ ///
+ /// \param[in] thread_filter
----------------
jimingham wrote:
I was expecting that one of the API's that the class you provided to implement
the scripted frame provider would have a static `applies_to_thread(thread :
SBThread)` method. If there was no such method, it would match all threads,
and if there was a method, it would be consulted and if it returns True, lldb
would attach an instance of the provider to that thread, and otherwise not.
https://github.com/llvm/llvm-project/pull/161870
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits