is an interactive version of
. It displays objects in a similar way to
. Entering the inspector causes a new level of the top loop to be entered with a special prompt indicating that the inspector has been entered and showing the current inspector level.
In the modified top loop, if you enter a slot name, that slot is inspected and the current object is pushed onto an internal stack of previously inspected objects. The special variables
are bound to the top three objects on the inspector stack.
The following keywords are treated specially as comands by the inspector.
Change the inspection mode -- see Inspection modes.
You can get brief help listing these commands by entering
at the inspector prompt.
The control variables
are similar to
displays more slots of the current object. If the object has more than
slots, then the first
will be printed, followed by an ellipsis and then
(:dm or :dr for more)
If you enter the command
at the prompt it displays the next
slots, and if you enter
it displays all the remaining slots. This only works on the last inspected object, so if you recursively inspect a slot and come back,
does not do anything useful. Typing
lets you view the object again.
is equivalent to typing