(self)
| 152 | dbg.quit_and_wait() |
| 153 | |
| 154 | def test_step_into(self): |
| 155 | fpath = name_to_fpath('helloworld', self.arch) |
| 156 | bv = load(fpath) |
| 157 | dbg = DebuggerController(bv) |
| 158 | dbg.cmd_line = 'foobar' |
| 159 | self.assertNotIn(dbg.launch_and_wait(), [DebugStopReason.ProcessExited, DebugStopReason.InternalError]) |
| 160 | reason = dbg.step_into_and_wait() |
| 161 | self.assertEqual(reason, DebugStopReason.SingleStep) |
| 162 | reason = dbg.step_into_and_wait() |
| 163 | self.assertEqual(reason, DebugStopReason.SingleStep) |
| 164 | reason = dbg.go_and_wait() |
| 165 | self.assertEqual(reason, DebugStopReason.ProcessExited) |
| 166 | |
| 167 | def test_breakpoint(self): |
| 168 | fpath = name_to_fpath('helloworld', self.arch) |
nothing calls this directly
no test coverage detected