MCPcopy Index your code
hub / github.com/python/cpython / set_step

Method set_step

Lib/bdb.py:577–581  ·  view source on GitHub ↗

Stop after one line of code.

(self)

Source from the content-addressed store, hash-verified

575 self._set_stopinfo(frame, frame, lineno)
576
577 def set_step(self):
578 """Stop after one line of code."""
579 # set_step() could be called from signal handler so enterframe might be None
580 self._set_stopinfo(None, None, cmdframe=self.enterframe,
581 cmdlineno=getattr(self.enterframe, 'f_lineno', None))
582
583 def set_stepinstr(self):
584 """Stop before the next instruction."""

Callers 2

sigint_handlerMethod · 0.45
do_stepMethod · 0.45

Calls 1

_set_stopinfoMethod · 0.95

Tested by

no test coverage detected