Set the attributes for stopping. If stoplineno is greater than or equal to 0, then stop at line greater than or equal to the stopline. If stoplineno is -1, then don't stop at all.
(self, stopframe, returnframe, stoplineno=0, opcode=False,
cmdframe=None, cmdlineno=None)
| 534 | self.monitoring_tracer.update_local_events() |
| 535 | |
| 536 | def _set_stopinfo(self, stopframe, returnframe, stoplineno=0, opcode=False, |
| 537 | cmdframe=None, cmdlineno=None): |
| 538 | """Set the attributes for stopping. |
| 539 | |
| 540 | If stoplineno is greater than or equal to 0, then stop at line |
| 541 | greater than or equal to the stopline. If stoplineno is -1, then |
| 542 | don't stop at all. |
| 543 | """ |
| 544 | self.stopframe = stopframe |
| 545 | self.returnframe = returnframe |
| 546 | self.quitting = False |
| 547 | # stoplineno >= 0 means: stop at line >= the stoplineno |
| 548 | # stoplineno -1 means: don't stop at all |
| 549 | self.stoplineno = stoplineno |
| 550 | # cmdframe/cmdlineno is the frame/line number when the user issued |
| 551 | # step/next commands. |
| 552 | self.cmdframe = cmdframe |
| 553 | self.cmdlineno = cmdlineno |
| 554 | self._set_trace_opcodes(opcode) |
| 555 | |
| 556 | def _set_caller_tracefunc(self, current_frame): |
| 557 | # Issue #13183: pdb skips frames after hitting a breakpoint and running |
no test coverage detected