MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_step

Method set_step

Lib/bdb.py:586–590  ·  view source on GitHub ↗

Stop after one line of code.

(self)

Source from the content-addressed store, hash-verified

584 self._set_stopinfo(frame, frame, lineno)
585
586 def set_step(self):
587 """Stop after one line of code."""
588 # set_step() could be called from signal handler so enterframe might be None
589 self._set_stopinfo(None, None, cmdframe=self.enterframe,
590 cmdlineno=getattr(self.enterframe, 'f_lineno', None))
591
592 def set_stepinstr(self):
593 """Stop before the next instruction."""

Callers 2

sigint_handlerMethod · 0.80
do_stepMethod · 0.80

Calls 2

_set_stopinfoMethod · 0.95
getattrFunction · 0.85

Tested by

no test coverage detected