[Lldb-commits] [lldb] [lldb-dap] Synchronously wait for breakpoints resolves in tests (PR #140470)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Sun May 18 16:51:40 PDT 2025
================
@@ -78,8 +84,40 @@ def set_function_breakpoints(self, functions, condition=None, hitCondition=None)
breakpoint_ids = []
for breakpoint in breakpoints:
breakpoint_ids.append("%i" % (breakpoint["id"]))
+ if wait_for_resolve:
+ self.wait_for_breakpoints_to_resolve(breakpoint_ids, timeout=10)
return breakpoint_ids
+ def wait_for_breakpoints_to_resolve(
----------------
ashgti wrote:
Should we move this to `DebugCommunication` in dap_server.py? We already have helpers like `wait_for_stopped`, so this feels similar.
https://github.com/llvm/llvm-project/pull/140470
More information about the lldb-commits
mailing list