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

Method set_until

Lib/bdb.py:578–584  ·  view source on GitHub ↗

Stop when the line with the lineno greater than the current one is reached or when returning from current frame.

(self, frame, lineno=None)

Source from the content-addressed store, hash-verified

576 # to affect the stepping state.
577
578 def set_until(self, frame, lineno=None):
579 """Stop when the line with the lineno greater than the current one is
580 reached or when returning from current frame."""
581 # the name "until" is borrowed from gdb
582 if lineno is None:
583 lineno = frame.f_lineno + 1
584 self._set_stopinfo(frame, frame, lineno)
585
586 def set_step(self):
587 """Stop after one line of code."""

Callers 1

do_untilMethod · 0.80

Calls 1

_set_stopinfoMethod · 0.95

Tested by

no test coverage detected