21 The Output Browser

The Output Browser is a simple tool that displays the output generated by your programs, and by operations such as macroexpansion, compilation and tracing. You can create one by choosing Works > Tools > Output Browser or clicking in the Podium. Output browser shows the Output Browser.

Figure 21.1 Output browser

The Output Browser has one main area that displays the output from the environment. Output usually consists mostly of compilation, trace and macroexpansions, but can also include output from other tools, such as the Profiler. The main area is actually an editor window, so all the usual editor keyboard commands can be used in it. See The Editor for more details about these operations.

The Output Browser is invaluable when you are developing code, because it collects any output generated by your code. An example of how to do this is given in Viewing output.

Many other tools in the environment contain an output view, which you can display by clicking their Output tab. The Output tab collects all the output generated by that tool. For instance, the System Browser has an Output tab that displays compilation messages. The Editor tool's Output tab additionally displays macroexpansions. Note that the Output Browser is the only tool which displays any output from your own code without any need for further action on your part.

Note: The Output Browser (and the Output tab of some tools) displays only the output from the Common LispWorks environment. By default, processes not associated with the tools write their output to the terminal stream.

21.1 Interactive compilation messages

Common LispWorks User Guide (Unix version) - 21 Feb 2008