Visualization Tools User's Guide


Forms of Display

The Snooper displays most objects by simply showing instance variable names and values. For the standard collections, however, more effective displays are possible,

Indexable collections (Arrays, OrderedCollections, etc) are displayed via index. The first element is given the name at: 1, the second is called at: 2, and so on.

Dictionaries are displayed by key. (By default, the keys are sorted alphabetically.) The elements of the dictionary are named at: key.

Sets and other collections without a definite order are displayed in some arbitrary order. Since the elements of a set are not distinguishable, the Snooper just calls each one el:.

Strings and symbols are collections, but they act like constants and cannot be expanded. (Expanding them would give a long and not terribly useful batch of characters.)


[ Top of Page | Previous Page | Next Page | Table of Contents ]