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

Method stop_here

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

Return True if frame is below the starting frame in the stack.

(self, frame)

Source from the content-addressed store, hash-verified

200 return False
201
202 def stop_here(self, frame):
203 "Return True if frame is below the starting frame in the stack."
204 # (CT) stopframe may now also be None, see dispatch_call.
205 # (CT) the former test for None is therefore removed from here.
206 if self.skip and \
207 self.is_skipped_module(frame.f_globals.get('__name__')):
208 return False
209 if frame is self.stopframe:
210 if self.stoplineno == -1:
211 return False
212 return frame.f_lineno >= self.stoplineno
213 if not self.stopframe:
214 return True
215 return False
216
217 def break_here(self, frame):
218 """Return True if there is an effective breakpoint for this line.

Callers 5

dispatch_lineMethod · 0.95
dispatch_callMethod · 0.95
dispatch_returnMethod · 0.95
dispatch_exceptionMethod · 0.95
user_callMethod · 0.80

Calls 2

is_skipped_moduleMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected