[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 20 10:47:05 PDT 2025


================
@@ -350,6 +349,9 @@ struct AttachRequestArguments {
   /// Path to the core file to debug.
   std::string coreFile;
 
+  /// Unique ID of an existing target to attach to.
+  std::optional<uint32_t> targetId;
----------------
ashgti wrote:

`SBTarget::GetGloballyUniqueID()` returns a `lldb::user_id_t`, should we use that here as well?

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


More information about the lldb-commits mailing list