MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / set_continue

Method set_continue

tools/python-3.11.9-amd64/Lib/bdb.py:338–351  ·  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

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.

Callers 2

do_continueMethod · 0.45
user_exceptionMethod · 0.45

Calls 1

_set_stopinfoMethod · 0.95

Tested by

no test coverage detected