[Lldb-commits] [lldb] [lldb-dap] Move targetId and debuggerId into a session property (PR #175930)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 15 11:19:18 PST 2026


================
@@ -317,6 +317,15 @@ using LaunchResponse = VoidResponse;
 /// An invalid 'frameId' default value.
 #define LLDB_DAP_INVALID_FRAME_ID UINT64_MAX
 
+struct DAPSession {
+  /// Unique ID of an existing target to attach to.
+  lldb::user_id_t targetId;
+
+  /// ID of an existing debugger instance to use.
----------------
JDevlieghere wrote:

Isn't the debugger ID unique too? Now it looks like it's not because it's explicitly called out for the target.

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


More information about the lldb-commits mailing list