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)
| 543 | self.monitoring_tracer.update_local_events() |
| 544 | |
| 545 | def _set_stopinfo(self, stopframe, returnframe, stoplineno=0, opcode=False, |
| 546 | cmdframe=None, cmdlineno=None): |
| 547 | """Set the attributes for stopping. |
| 548 | |
| 549 | If stoplineno is greater than or equal to 0, then stop at line |
| 550 | greater than or equal to the stopline. If stoplineno is -1, then |
| 551 | don't stop at all. |
| 552 | """ |
| 553 | self.stopframe = stopframe |
| 554 | self.returnframe = returnframe |
| 555 | self.quitting = False |
| 556 | # stoplineno >= 0 means: stop at line >= the stoplineno |
| 557 | # stoplineno -1 means: don't stop at all |
| 558 | self.stoplineno = stoplineno |
| 559 | # cmdframe/cmdlineno is the frame/line number when the user issued |
| 560 | # step/next commands. |
| 561 | self.cmdframe = cmdframe |
| 562 | self.cmdlineno = cmdlineno |
| 563 | self._set_trace_opcodes(opcode) |
| 564 | |
| 565 | def _set_caller_tracefunc(self, current_frame): |
| 566 | # Issue #13183: pdb skips frames after hitting a breakpoint and running |
no test coverage detected