Home | History | Annotate | Download | only in stop-hook

Lines Matching full:hook

2 Test lldb target stop-hook command.
14 mydir = os.path.join("functionalities", "stop-hook")
18 """target stop-hook list should not crash if no target has been set."""
19 self.runCmd("target stop-hook list", check=False)
24 """Test a sequence of target stop-hook commands."""
30 """Test a sequence of target stop-hook commands."""
38 self.begl = line_number('main.cpp', '// Set breakpoint here to test target stop-hook.')
39 self.endl = line_number('main.cpp', '// End of the line range for which stop-hook is to be run.')
40 self.line = line_number('main.cpp', '// Another breakpoint which is outside of the stop-hook range.')
43 """Test a sequence of target stop-hook commands."""
51 self.runCmd("target stop-hook add -f main.cpp -l %d -e %d -o 'expr ptr'" % (self.begl, self.endl))
53 self.expect('target stop-hook list', 'Stop Hook added successfully',
57 self.runCmd('target stop-hook disable')
59 self.expect('target stop-hook list', 'Stop Hook disabled successfully',
63 self.runCmd('target stop-hook enable')
65 self.expect('target stop-hook list', 'Stop Hook enabled successfully',
72 self.runCmd('target stop-hook delete')
74 self.expect('target stop-hook list', 'Stop Hook deleted successfully',