================
@@ -173,6 +173,29 @@ def verify_breakpoint_hit(self, breakpoint_ids, 
timeout=DEFAULT_TIMEOUT):
                         return
         self.assertTrue(False, f"breakpoint not hit, 
stopped_events={stopped_events}")
 
+    def verify_all_breakpoints_hit(self, breakpoint_ids, 
timeout=DEFAULT_TIMEOUT):
+        """Wait for the process we are debugging to stop, and verify we hit
+        all of the breakpoint locations in the "breakpoint_ids" array.
+        "breakpoint_ids" should be a list of breakpoint ID strings
+        (["1", "2"])."""
----------------
SLTozer wrote:

I chose to have it accept the output from a setBreakpoints response as with 
`verify_breakpoint_hit`, but converting to ints in the test and passing those 
also makes sense.

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

Reply via email to