[Lldb-commits] [lldb] [lldb][docs] Describe how to check enabled features (PR #171468)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 9 08:50:25 PST 2025


================
@@ -97,3 +97,33 @@ for any source file and line breakpoints that the IDE set using:
 ::
 
    (lldb) breakpoint list --verbose
+
+How Do I Find Out Which Features My Version Of LLDB Has?
+--------------------------------------------------------
+
+Some features such as XML parsing are optional and must be enabled when LLDB is
+built. To check which features your copy of LLDB has enabled, use the ``version``
+command from within LLDB:
+
+::
+
+   (lldb) version -v
+
+.. note::
+   This feature was added in LLDB 22. If you are using an earlier version, you
+   can use the method below.
----------------
DavidSpickett wrote:

Oh yeah, I didn't realise I could just do that, for some reason I thought it'd have to be an external script.

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


More information about the lldb-commits mailing list