Skip to content

Commit 34be09a

Browse files
authored
[lldb-dap][test] fix not supported error. (#144419)
Fixes #144072 buildbot error.
1 parent d3bc834 commit 34be09a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lldb/test/API/tools/lldb-dap/stepInTargets/TestDAP_stepInTargets.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,13 @@ def test_supported_capability_other_archs(self):
112112
len(breakpoint_ids), len(bp_lines), "expect correct number of breakpoints"
113113
)
114114
self.continue_to_breakpoints(breakpoint_ids)
115-
is_supported = self.dap_server.get_capability("supportsStepInTargetsRequest")
115+
116+
try:
117+
is_supported = self.dap_server.get_capability(
118+
"supportsStepInTargetsRequest"
119+
)
120+
except dap_server.NotSupportedError:
121+
is_supported = False
116122

117123
self.assertEqual(
118124
is_supported,

0 commit comments

Comments
 (0)