Overwrite print_stack_entry from superclass (PDB)
(
self, frame_lineno: tuple[FrameType, int], prompt_prefix: str = "\n-> "
)
| 622 | pass |
| 623 | |
| 624 | def print_stack_entry( |
| 625 | self, frame_lineno: tuple[FrameType, int], prompt_prefix: str = "\n-> " |
| 626 | ) -> None: |
| 627 | """ |
| 628 | Overwrite print_stack_entry from superclass (PDB) |
| 629 | """ |
| 630 | print(self.format_stack_entry(frame_lineno, ""), file=self.stdout) |
| 631 | |
| 632 | frame, lineno = frame_lineno |
| 633 | filename = frame.f_code.co_filename |
| 634 | self.shell.hooks.synchronize_with_editor(filename, lineno, 0) |
| 635 | |
| 636 | def _pdbcmd_print_frame_status(self, arg): |
| 637 | """Use print_stack_entry to print frames in Python 3.14+.""" |
no test coverage detected