MCPcopy Index your code
hub / github.com/ipython/ipython / print_stack_entry

Method print_stack_entry

IPython/core/debugger.py:624–634  ·  view source on GitHub ↗

Overwrite print_stack_entry from superclass (PDB)

(
        self, frame_lineno: tuple[FrameType, int], prompt_prefix: str = "\n-> "
    )

Source from the content-addressed store, hash-verified

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+."""

Callers 2

do_exceptionsMethod · 0.95

Calls 1

format_stack_entryMethod · 0.95

Tested by

no test coverage detected