[Lldb-commits] [lldb] [lldb-dap] Document lldb-dap extensions (PR #233529)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 20 04:56:49 PDT 2026


================
@@ -0,0 +1,238 @@
+# LLDB-DAP Extensions
+
+lldb-dap implements the
+[Debug Adapter Protocol](https://microsoft.github.io/debug-adapter-protocol/specification)
+(DAP). This page specifies what lldb-dap adds to the protocol, such as new requests and additional fields in protocol types.
+
+Conventions:
+
+- New requests should be prefixed with `__lldb_`.
+- Added properties on standard messages are prefixed with `$__lldb_` if the field
+  is LLDB-specific (e.g. `$__lldb_version`); otherwise, they use plain names
+  (e.g. `compileUnitId`).
----------------
da-viper wrote:

I am trying to infer a pattern from already existing extended fields. the `$__lldb_` prefixed fields are fields that won't make sense to any other debugger (e.g. $_lldb_version, $__lldb_statistics, $__lldb_source_init). 

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


More information about the lldb-commits mailing list