[Lldb-commits] [lldb] [lldb-dap] Creating a 'capabilities' event helper. (PR #142831)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 4 12:43:30 PDT 2025


================
@@ -89,17 +91,14 @@ def test_supported_capability_x86_arch(self):
         self.assertEqual(
             len(breakpoint_ids), len(bp_lines), "expect correct number of breakpoints"
         )
-        is_supported = self.dap_server.get_initialize_value(
-            "supportsStepInTargetsRequest"
+        is_supported = self.dap_server.get_capability(
+            "supportsStepInTargetsRequest", False
         )
 
-        self.assertEqual(
+        self.assertTrue(
             is_supported,
----------------
ashgti wrote:

Done.

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


More information about the lldb-commits mailing list