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()`
  
  
  This debugger can hide and skip frames that are tagged according to some predicates.
  See the `skip_predicates` commands.
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","(",")","`","This","debugger","can","hide","and","skip","frames","that","are","tagged","according","to","some","predicates",".","See","the","`","skip_predicates","`","commands","."]
docstr: w(here)
  Print a stack trace, with the most recent frame at the bottom.
  An arrow indicates the "current frame", which determines the
  context of most commands. 'bt' is an alias for this command.
  
  Take a number as argument as an (optional) number of context line to
  print
docstr_tok: ["w","(","here",")","Print","a","stack","trace",",","with","the","most","recent","frame","at","the","bottom",".","An","arrow","indicates","the","``","current","frame","''",",","which","determines","the","context","of","most","commands",".","'bt","'","is","an","alias","for","this","command",".","Take","a","number","as","argument","as","an","(","optional",")","number","of","context","line","to","print"]
code: def do_where(self, arg):
      """w(here)
      Print a stack trace, with the most recent frame at the bottom.
      An arrow indicates the "current frame", which determines the
      context of most commands. 'bt' is an alias for this command.
  
      Take a number as argument as an (optional) number of context line to
      print"""
      if arg:
          try:
              context = int(arg)
          except ValueError as err:
              self.error(err)
              return
          self.print_stack_trace(context)
      else:
          self.print_stack_trace()
  
imports: import inspect
  import linecache
  import sys
  import re
  import os
  from IPython import get_ipython
  from contextlib import contextmanager
  from IPython.utils import PyColorize
  from IPython.utils import coloransi, py3compat
  from IPython.core.excolors import exception_colors
  from pdb import Pdb
label_desc: Use image node_id 29 for calling the Pdb obj's underlying member method code with example usage: obj.do_where(arg) without return types