code: def do_pp(self, arg):
          
          obj = self._getval(arg)
          try:
              repr(obj)
          except Exception:
              self.message(bdb.safe_repr(obj))
          else:
              self.message(pprint.pformat(obj))
docs: pp expression
          Pretty-print the value of the expression.