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

Method _set_stopinfo

tools/python-3.11.9-amd64/Lib/bdb.py:275–287  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 7

resetMethod · 0.95
dispatch_returnMethod · 0.95
set_untilMethod · 0.95
set_stepMethod · 0.95
set_nextMethod · 0.95
set_returnMethod · 0.95
set_continueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected