================
@@ -1187,15 +1187,17 @@ def request_locations(self, locationReference):
         }
         return self.send_recv(command_dict)
 
-    def request_testGetTargetBreakpoints(self):
+    def request_testGetTargetBreakpoints(self, only_resolved=False):
----------------
ashgti wrote:

I'm not sure we need to extend this, we could track the current state of 
breakpoints in `DebugCommunication` by updating `_handle_recv_packet` to check 
for breakpoint events and by updating `request_setBreakpoints` (and other kinds 
of breakpoints functions) to update the state when they get a response from the 
server.

We could have a helper for getting the current state of a breakpoint by id and 
move `wait_for_breakpoints_to_resolve` into to `DebugCommunication`.

https://github.com/llvm/llvm-project/pull/140470
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to