code: def user_exception(self, frame, exc_info):
          
          pdb.Pdb.user_exception(self, frame, exc_info)
docs: This function is called if an exception occurs,
          but only if we are to stop at or just below this level.