This function is called when we stop or break at this line.
(self, frame)
| 564 | self.interaction(frame, None) |
| 565 | |
| 566 | def user_line(self, frame): |
| 567 | """This function is called when we stop or break at this line.""" |
| 568 | if self._wait_for_mainpyfile: |
| 569 | if (self.mainpyfile != self.canonic(frame.f_code.co_filename)): |
| 570 | return |
| 571 | self._wait_for_mainpyfile = False |
| 572 | if self.trace_opcodes: |
| 573 | # GH-127321 |
| 574 | # We want to avoid stopping at an opcode that does not have |
| 575 | # an associated line number because pdb does not like it |
| 576 | if frame.f_lineno is None: |
| 577 | self.set_stepinstr() |
| 578 | return |
| 579 | self.bp_commands(frame) |
| 580 | self.interaction(frame, None) |
| 581 | |
| 582 | user_opcode = user_line |
| 583 |
nothing calls this directly
no test coverage detected