Next Prev Top Contents Index

3 The TTY Inspector

LispWorks provides two inspectors. One is for use with the Common LispWorks environment, and is described in the Common LispWorks User Guide . The other is the TTY inspector, which uses a stream interface, and can be used on any terminal (in particular within a Common LispWorks listener). Both inspectors allow you to traverse complex data structures interactively and to destructively modify components of these structures. However, the two inspectors are quite different. No attempt has been made to make their usage compatible and instead each inspector is designed to exploit to the full the particular environment facilities available.

The teletype inspector provides a simple inspector facility which can be used on a stream providing line breaks as the only type of formatting. It is built on top of the describe function which is briefly described below and modifies the top level loop in a similar way to the debugger (see The Debugger).

3.1 Describe

3.2 Inspect

3.3 Inspection modes


LispWorks User Guide - 18 Feb 2003

Next Prev Top Contents Index