[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


================
@@ -331,6 +331,15 @@ bool fromJSON(const json::Value &Params, LaunchRequestArguments &LRA,
   return true;
 }
 
+bool fromJSON(const llvm::json::Value &Params, DAPSession &Ses,
+              llvm::json::Path P) {
+
+  json::ObjectMapper O(Params, P);
+  // Validate that both debuggerID and targetId are provided.
----------------
JDevlieghere wrote:

This comment doesn't seem to add much and we don't do this elsewhere. 
```suggestion
```

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


More information about the lldb-commits mailing list