[Lldb-commits] [lldb] Fix a bug copying the stop hooks from the dummy target. (PR #129340)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 28 16:54:17 PST 2025


================
@@ -26,10 +26,15 @@ def test_stop_hooks_step_out(self):
         self.step_out_test()
 
     def test_stop_hooks_after_expr(self):
-        """Test that a stop hook fires when hitting a breakpoint
-        that runs an expression"""
+        """Test that a stop hook fires when hitting a breakpoint that
+        runs an expression"""
         self.after_expr_test()
 
+    def test_stop_hooks_before_and_after_creation(self):
+        """Test that if we add a stop hook in the dummy target, we can
+        they don't collide with ones set directly in the target."""
----------------
bulbazord wrote:

I think you forgot a word? `we can they don't collide`

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


More information about the lldb-commits mailing list