[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
Wed May 21 09:00:18 PDT 2025


================
@@ -1011,7 +1042,10 @@ def request_setFunctionBreakpoints(self, names, condition=None, hitCondition=Non
             "type": "request",
             "arguments": args_dict,
         }
-        return self.send_recv(command_dict)
+        response = self.send_recv(command_dict)
+        breakpoints = response["body"]["breakpoints"]
----------------
ashgti wrote:

Same as above, we should check success first

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


More information about the lldb-commits mailing list