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

Method set_until

Lib/bdb.py:569–575  ·  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

567 # to affect the stepping state.
568
569 def set_until(self, frame, lineno=None):
570 """Stop when the line with the lineno greater than the current one is
571 reached or when returning from current frame."""
572 # the name "until" is borrowed from gdb
573 if lineno is None:
574 lineno = frame.f_lineno + 1
575 self._set_stopinfo(frame, frame, lineno)
576
577 def set_step(self):
578 """Stop after one line of code."""

Callers 1

do_untilMethod · 0.80

Calls 1

_set_stopinfoMethod · 0.95

Tested by

no test coverage detected