[Lldb-commits] [lldb] [lldb-dap] Improve test performance by removing negative assertions. (PR #178041)

Sergei Druzhkov via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 27 02:03:18 PST 2026


================
@@ -179,14 +174,13 @@ def verify_breakpoint_hit(self, breakpoint_ids: List[Union[int, str]]):
                     continue
                 hit_breakpoint_ids = body["hitBreakpointIds"]
                 for bp in hit_breakpoint_ids:
-                    if str(bp) in normalized_bp_ids:
+                    if bp in breakpoint_ids:
                         return
-        self.assertTrue(
-            False,
+        self.fail(
----------------
DrSergei wrote:

Could you fix the same pattern on line 209

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


More information about the lldb-commits mailing list