[Ecls-list] Adventures in stepping through the ECL codebase

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Wed Jul 15 13:28:54 UTC 2009


On Tue, Jul 14, 2009 at 8:50 AM, Greg Santucci<thecodewitch at gmail.com> wrote:
> After stepping through a tonne of ecl code, I came across the function
> static cl_object L6trace_print() in trace.c. After stepping through it, I
> thought it might be interesting to try overriding the *trace-output* symbol.
> After adding this line to init.lisp, traces now go through my callbacks!!
>
> (setq *trace-output* (two-way-stream-output-stream *terminal-io*))
>
> I *really* wish this was documented somewhere.

We try to minimize redundancies w.r.t. the ansi specification. The
list of streams initially bound by the Common Lisp environment is
here:

http://www.lispworks.com/documentation/lw50/CLHS/Body/c_stream.htm

including more or less default values and expected behavior.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list