[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:17 PST 2026


================
@@ -1262,3 +1262,12 @@ TEST(ProtocolTypesTest, StackFrame) {
   ASSERT_THAT_EXPECTED(expected_frame, llvm::Succeeded());
   EXPECT_EQ(pp(*expected_frame), pp(frame));
 }
+
+TEST(ProtocolTypesTest, DAPSession) {
+  const DAPSession session{/*targetId*/ 1000, /*debuggerId*/ 300};
----------------
JDevlieghere wrote:

```suggestion
  const DAPSession session{/*targetId=*/1000, /*debuggerId=*/300};
```

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


More information about the lldb-commits mailing list