[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


================
@@ -62,9 +64,13 @@ def set_source_breakpoints(self, source_path, lines, data=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)
----------------
ashgti wrote:

Can the timeout be a parameter that defaults to `DEFAULT_TIMEOUT`?

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


More information about the lldb-commits mailing list