[Lldb-commits] [lldb] [lldb-dap] Allow returning multiple breakpoints in "stopped" event (PR #149133)

Stephen Tozer via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 16 09:47:19 PDT 2025


================
@@ -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


More information about the lldb-commits mailing list