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

Method dispatch_line

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

Invoke user function and return trace function for line event. If the debugger stops on the current line, invoke self.user_line(). Raise BdbQuit if self.quitting is set. Return self.trace_dispatch to continue tracing in this scope.

(self, frame)

Source from the content-addressed store, hash-verified

104 return self.trace_dispatch
105
106 def dispatch_line(self, frame):
107 """Invoke user function and return trace function for line event.
108
109 If the debugger stops on the current line, invoke
110 self.user_line(). Raise BdbQuit if self.quitting is set.
111 Return self.trace_dispatch to continue tracing in this scope.
112 """
113 if self.stop_here(frame) or self.break_here(frame):
114 self.user_line(frame)
115 if self.quitting: raise BdbQuit
116 return self.trace_dispatch
117
118 def dispatch_call(self, frame, arg):
119 """Invoke user function and return trace function for call event.

Callers 1

trace_dispatchMethod · 0.95

Calls 3

stop_hereMethod · 0.95
break_hereMethod · 0.95
user_lineMethod · 0.95

Tested by

no test coverage detected