class_docstr: Modified Pdb class, does not load readline.
  
  for a standalone version that uses prompt_toolkit, see
  `IPython.terminal.debugger.TerminalPdb` and
  `IPython.terminal.debugger.set_trace()`
class_docstr_tok: ["Modified","Pdb","class",",","does","not","load","readline",".","for","a","standalone","version","that","uses","prompt_toolkit",",","see","`","IPython.terminal.debugger.TerminalPdb","`","and","`","IPython.terminal.debugger.set_trace","(",")","`"]
code: def interaction(self, frame, traceback):
      try:
          OldPdb.interaction(self, frame, traceback)
      except KeyboardInterrupt:
          sys.stdout.write("\n" + self.shell.get_exception_only())
  
imports: from __future__ import print_function
  import bdb
  import functools
  import inspect
  import sys
  import warnings
  from IPython import get_ipython
  from IPython.utils import PyColorize, ulinecache
  from IPython.utils import coloransi, py3compat
  from IPython.core.excolors import exception_colors
  from IPython.testing.skipdoctest import skip_doctest
  from pdb import Pdb
label_desc: Use image node_id 3 for calling the Pdb obj's underlying member method code with example usage: obj.interaction(frame, traceback) without return types