[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
================
@@ -985,7 +1013,10 @@ def request_setBreakpoints(self, file_path, line_array, data=None):
"type": "request",
"arguments": args_dict,
}
- return self.send_recv(command_dict)
+ response = self.send_recv(command_dict)
+ breakpoints = response["body"]["breakpoints"]
----------------
ashgti wrote:
We should check if the response is a success first, otherwise this may be a missing key exception.
https://github.com/llvm/llvm-project/pull/140470
More information about the lldb-commits
mailing list