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

Method user_line

tools/python-3.11.9-amd64/Lib/pdb.py:317–325  ·  view source on GitHub ↗

This function is called when we stop or break at this line.

(self, frame)

Source from the content-addressed store, hash-verified

315 self.interaction(frame, None)
316
317 def user_line(self, frame):
318 """This function is called when we stop or break at this line."""
319 if self._wait_for_mainpyfile:
320 if (self.mainpyfile != self.canonic(frame.f_code.co_filename)
321 or frame.f_lineno <= 0):
322 return
323 self._wait_for_mainpyfile = False
324 if self.bp_commands(frame):
325 self.interaction(frame, None)
326
327 def bp_commands(self, frame):
328 """Call every command that was set for the current active breakpoint

Callers

nothing calls this directly

Calls 3

bp_commandsMethod · 0.95
interactionMethod · 0.95
canonicMethod · 0.80

Tested by

no test coverage detected