Stop only at breakpoints or when finished. If there are no breakpoints, set the system trace function to None.
(self)
| 336 | sys.settrace(self.trace_dispatch) |
| 337 | |
| 338 | def set_continue(self): |
| 339 | """Stop only at breakpoints or when finished. |
| 340 | |
| 341 | If there are no breakpoints, set the system trace function to None. |
| 342 | """ |
| 343 | # Don't stop except at breakpoints or when finished |
| 344 | self._set_stopinfo(self.botframe, None, -1) |
| 345 | if not self.breaks: |
| 346 | # no breakpoints; run without debugger overhead |
| 347 | sys.settrace(None) |
| 348 | frame = sys._getframe().f_back |
| 349 | while frame and frame is not self.botframe: |
| 350 | del frame.f_trace |
| 351 | frame = frame.f_back |
| 352 | |
| 353 | def set_quit(self): |
| 354 | """Set quitting attribute to True. |
no test coverage detected