MCPcopy Index your code
hub / github.com/python/cpython / set_continue

Method set_continue

Lib/bdb.py:619–637  ·  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

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

Callers 3

set_trace_asyncMethod · 0.45
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