Stop when the line with the lineno greater than the current one is reached or when returning from current frame.
(self, frame, lineno=None)
| 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.""" |