[Lldb-commits] [lldb] [lldb/docs] Add scripting extensions documentation to the website (PR #97262)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 1 10:49:26 PDT 2024


================
@@ -11,6 +11,65 @@ some of these things by going through an example, explaining how to use
 Python scripting to find a bug in a program that searches for text in a
 large binary tree.
 
+Operating System Thread Plugins
+-------------------------------
+
+.. automodapi:: lldb.plugins.operating_system
+    :no-heading:
+    :members:
+    :undoc-members:
+    :skip: command
+    :skip: declaration
+    :skip: in_range
+    :skip: is_numeric_type
+    :skip: lldb_iter
+    :no-inheritance-diagram:
+
+Scripted Process Plugins
+-------------------------------
+
+.. automodapi:: lldb.plugins.scripted_process
+    :no-heading:
+    :members:
+    :undoc-members:
+    :skip: ABCMeta
+    :skip: command
+    :skip: declaration
+    :skip: in_range
+    :skip: is_numeric_type
+    :skip: lldb_iter
+    :no-inheritance-diagram:
----------------
JDevlieghere wrote:

I don't think you meant to add this to the [Python Scripting](https://lldb.llvm.org/use/python.html) page as this is a tutorial. The automatically generated documentation should probably end up on the [Python API](https://lldb.llvm.org/python_api.html) page. But you probably also want to have a page that explains what these things are, and how you'd use them. It seems like the [Python Reference](https://lldb.llvm.org/use/python-reference.html) page would be best suited for that. 

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


More information about the lldb-commits mailing list