5.1.14 Changes to the inspector
inspectis an interactive version of
describe. It displays objects in a similar way to
describe. Entering the teletype 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. Note that the global variable
* is still bound to the last object printed out, which is most cases is the same thing as the object currently being inspected.
The following keywords are also treated specially by the inspector.
|Display current object.|
|Display more of current object.|
|Recursively invoke a new inspector. m is an object to inspect.|
|Quit current inspector.|
|Sets slot n to value v.|
|Show inspector stack.|
|Undo last inspection. If you supply an optional integer argument, int, then the last int inspections are undone.|
|Undo last inspection and redisplay current object.|
|Change the inspection mode .|
*inspect-print-length* are similar to
*describe-print-length* (see above).
:dm displays more slots of the current object. If the object has more than
sys::*describe-length* slots, then the first
*describe-length* will be printed, followed by an ellipsis and then
(:dm for more)If you type
:dmat the prompt, the next
*describe-length*slots are displayed. This only works on the last inspected object, so if you recursively inspect a slot and come back,
:dmdoes not do anything useful. Typing
:dlets you view the object again.
:ud is equivalent to typing
:u followed by
$$$are bound respectively to the object currently being inspected, the object previously inspected before that, and the third such object back before that. Note that the global variable
*is still bound to the last object printed out, which is most cases is the same thing as the object currently being inspected.
:minspector command lists and invokes these views.
*inspect-recursively*, determines whether or not to inspect values of forms evaluated in the inspector.
Generated with Harlequin WebMaker