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