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)
| 273 | pass |
| 274 | |
| 275 | def _set_stopinfo(self, stopframe, returnframe, stoplineno=0): |
| 276 | """Set the attributes for stopping. |
| 277 | |
| 278 | If stoplineno is greater than or equal to 0, then stop at line |
| 279 | greater than or equal to the stopline. If stoplineno is -1, then |
| 280 | don't stop at all. |
| 281 | """ |
| 282 | self.stopframe = stopframe |
| 283 | self.returnframe = returnframe |
| 284 | self.quitting = False |
| 285 | # stoplineno >= 0 means: stop at line >= the stoplineno |
| 286 | # stoplineno -1 means: don't stop at all |
| 287 | self.stoplineno = stoplineno |
| 288 | |
| 289 | # Derived classes and clients can call the following methods |
| 290 | # to affect the stepping state. |
no outgoing calls
no test coverage detected