MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_continue

Method set_continue

Lib/bdb.py:628–646  ·  view source on GitHub ↗

Stop only at breakpoints or when finished. If there are no breakpoints, set the system trace function to None.

(self)

Source from the content-addressed store, hash-verified

626 self.start_trace()
627
628 def set_continue(self):
629 """Stop only at breakpoints or when finished.
630
631 If there are no breakpoints, set the system trace function to None.
632 """
633 # Don't stop except at breakpoints or when finished
634 self._set_stopinfo(self.botframe, None, -1)
635 if not self.breaks:
636 # no breakpoints; run without debugger overhead
637 self.stop_trace()
638 frame = sys._getframe().f_back
639 while frame and frame is not self.botframe:
640 del frame.f_trace
641 frame = frame.f_back
642 for frame, (trace_lines, trace_opcodes) in self.frame_trace_lines_opcodes.items():
643 frame.f_trace_lines, frame.f_trace_opcodes = trace_lines, trace_opcodes
644 if self.backend == 'monitoring':
645 self.monitoring_tracer.update_local_events()
646 self.frame_trace_lines_opcodes = {}
647
648 def set_quit(self):
649 """Set quitting attribute to True.

Callers 2

do_continueMethod · 0.45
user_exceptionMethod · 0.45

Calls 4

_set_stopinfoMethod · 0.95
stop_traceMethod · 0.95
update_local_eventsMethod · 0.80
itemsMethod · 0.45

Tested by

no test coverage detected