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: d(own) [count]
  Move the current frame count (default one) levels down in the
  stack trace (to a newer frame).
  
  Will skip hidden frames.
docstr_tok: ["d","(","own",")","[","count","]","Move","the","current","frame","count","(","default","one",")","levels","down","in","the","stack","trace","(","to","a","newer","frame",")",".","Will","skip","hidden","frames","."]
code: def do_down(self, arg):
      """d(own) [count]
      Move the current frame count (default one) levels down in the
      stack trace (to a newer frame).
  
      Will skip hidden frames.
      """
      if self.curindex + 1 == len(self.stack):
          self.error("Newest frame")
          return
      try:
          count = int(arg or 1)
      except ValueError:
          self.error("Invalid frame count (%s)" % arg)
          return
      if count < 0:
          _newframe = len(self.stack) - 1
      else:
          counter = 0
          skipped = 0
          hidden_frames = self.hidden_frames(self.stack)
          for i in range(self.curindex + 1, len(self.stack)):
              if hidden_frames[i] and self.skip_hidden:
                  skipped += 1
                  continue
              counter += 1
              if counter >= count:
                  break
          else:
              self.error(
                  "all frames below hidden, use `skip_hidden False` to get get into those."
              )
              return
  
          Colors = self.color_scheme_table.active_colors
          ColorsNormal = Colors.Normal
          if skipped:
              print(
                  f"{Colors.excName}    [... skipped {skipped} hidden frame(s)]{ColorsNormal}\n"
              )
          _newframe = i
  
      self._select_frame(_newframe)
  
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 34 for calling the Pdb obj's underlying member method code with example usage: obj.do_down(arg) without return types