https://github.com/da-viper created 
https://github.com/llvm/llvm-project/pull/144419

Fixes #144072 

buildbot error. 

>From 22ea9d9c8afd879cacba769454ba115736df2c93 Mon Sep 17 00:00:00 2001
From: Ebuka Ezike <yerimy...@gmail.com>
Date: Mon, 16 Jun 2025 20:33:34 +0100
Subject: [PATCH] [lldb-dap][test] fix not supported error.

---
 .../tools/lldb-dap/stepInTargets/TestDAP_stepInTargets.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/lldb/test/API/tools/lldb-dap/stepInTargets/TestDAP_stepInTargets.py 
b/lldb/test/API/tools/lldb-dap/stepInTargets/TestDAP_stepInTargets.py
index 51ccf2ccbdcad..05adfb3e342b0 100644
--- a/lldb/test/API/tools/lldb-dap/stepInTargets/TestDAP_stepInTargets.py
+++ b/lldb/test/API/tools/lldb-dap/stepInTargets/TestDAP_stepInTargets.py
@@ -90,7 +90,13 @@ def test_supported_capability_x86_arch(self):
             len(breakpoint_ids), len(bp_lines), "expect correct number of 
breakpoints"
         )
         self.continue_to_breakpoints(breakpoint_ids)
-        is_supported = 
self.dap_server.get_capability("supportsStepInTargetsRequest")
+
+        try:
+            is_supported = self.dap_server.get_capability(
+                "supportsStepInTargetsRequest"
+            )
+        except dap_server.NotSupportedError:
+            is_supported = False
 
         self.assertEqual(
             is_supported,

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to