Lines Matching refs:breakpoint
2 Test breakpoint ignore count features.
13 mydir = os.path.join("functionalities", "breakpoint", "breakpoint_ignore_count")
18 """Exercise breakpoint ignore count with 'breakpoint set -i <count>'."""
26 """Use Python APIs to set breakpoint ignore count."""
32 """Exercise breakpoint ignore count with 'breakpoint set -i <count>'."""
39 """Use Python APIs to set breakpoint ignore count."""
54 """Exercise breakpoint ignore count with 'breakpoint set -i <count>'."""
58 # Create a breakpoint in main.c at line1.
69 self.expect("breakpoint list -f", BREAKPOINT_HIT_THRICE,
76 #substrs = ["stop reason = breakpoint"],
89 self.expect("breakpoint list -f", BREAKPOINT_HIT_THRICE,
96 #substrs = ["stop reason = breakpoint"],
103 """Use Python APIs to set breakpoint ignore count."""
110 # Now create a breakpoint on main.c by name 'c'.
111 breakpoint = target.BreakpointCreateByName('c', 'a.out')
112 self.assertTrue(breakpoint and
113 breakpoint.GetNumLocations() == 1,
116 # Get the breakpoint location from breakpoint after we verified that,
118 location = breakpoint.GetLocationAtIndex(0)
123 # Set the ignore count on the breakpoint location.
137 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint")
146 # The hit count for the breakpoint should be 3.
147 self.assertTrue(breakpoint.GetHitCount() == 3)