parameters: (self, frame_filters)
docstring: Internal worker function to list and print frame filters
          in a dictionary.
  
          Arguments:
             frame_filters: The name of the dictionary, as
             specified by GDB user commands.
docstring_summary: Internal worker function to list and print frame filters
          in a dictionary.
docstring_tokens: Internal worker function to list and print frame filters in a dictionary .
function: def list_frame_filters(self, frame_filters):
          """ Internal worker function to list and print frame filters
          in a dictionary.
  
          Arguments:
             frame_filters: The name of the dictionary, as
             specified by GDB user commands.
          """
  
          sorted_frame_filters = sorted(frame_filters.items(),
                                        key=lambda i: gdb.frames.get_priority(i[1]),
                                        reverse=True)
  
          if len(sorted_frame_filters) == 0:
              print("  No frame filters registered.")
          else:
              print("  Priority  Enabled  Name")
              for frame_filter in sorted_frame_filters:
                  name = frame_filter[0]
                  try:
                      priority = '{:<8}'.format(
                          str(gdb.frames.get_priority(frame_filter[1])))
                      enabled = '{:<7}'.format(
                          self.enabled_string(gdb.frames.get_enabled(frame_filter[1])))
                  except Exception:
                      e = sys.exc_info()[1]
                      print("  Error printing filter '"+name+"': "+str(e))
                  else:
                      print("  %s  %s  %s" % (priority, enabled, name))
function_tokens: def list_frame_filters ( self , frame_filters ) : sorted_frame_filters = sorted ( frame_filters . items ( ) , key = lambda i : gdb . frames . get_priority ( i [ 1 ] ) , reverse = True ) if len ( sorted_frame_filters ) == 0 : print ( "  No frame filters registered." ) else : print ( "  Priority  Enabled  Name" ) for frame_filter in sorted_frame_filters : name = frame_filter [ 0 ] try : priority = '{:<8}' . format ( str ( gdb . frames . get_priority ( frame_filter [ 1 ] ) ) ) enabled = '{:<7}' . format ( self . enabled_string ( gdb . frames . get_enabled ( frame_filter [ 1 ] ) ) ) except Exception : e = sys . exc_info ( ) [ 1 ] print ( "  Error printing filter '" + name + "': " + str ( e ) ) else : print ( "  %s  %s  %s" % ( priority , enabled , name ) )