[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrameProvider for real threads (PR #161870)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 10 12:55:38 PST 2025


================
@@ -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
----------------
medismailben wrote:

How can you know the thread name of id or a thread that haven't yet been created ? Also if we wanted to go that route, we would have to introduce a new SBAPI class.

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


More information about the lldb-commits mailing list