This function is called when we stop or break at this line.
(self, frame)
| 260 | self.interaction(frame, None) |
| 261 | |
| 262 | def user_line(self, frame): |
| 263 | """This function is called when we stop or break at this line.""" |
| 264 | if self._wait_for_mainpyfile: |
| 265 | if (self.mainpyfile != self.canonic(frame.f_code.co_filename) |
| 266 | or frame.f_lineno <= 0): |
| 267 | return |
| 268 | self._wait_for_mainpyfile = False |
| 269 | if self.bp_commands(frame): |
| 270 | self.interaction(frame, None) |
| 271 | |
| 272 | def bp_commands(self, frame): |
| 273 | """Call every command that was set for the current active breakpoint |
nothing calls this directly
no test coverage detected