def METHOD_NAME(self):
    """
    Print the record iteration stack.
    Used for debugging.
    """
    print()
    for name, iter_count in reversed(self.stack):
        print('^^^', name, iter_count)
    print(60 * '^')