[plt-scheme] trace to current-error-port?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jul 28 08:30:37 EDT 2008

I think `trace' should log its output instead of writing to the current
output port. That doesn't work well with DrScheme right now, though,
since DrScheme doesn't capture and show logged output.

I'll add a parameter so that you can set the way that `trace' writes
information, which is all you need right now (and maybe the default
will eventually switch to logging).

Matthew

At Mon, 28 Jul 2008 13:26:21 +0100, "Noel Welsh" wrote:
> You could prepend some special characters to your function's output,
> so you can separate it from trace using grep, or you could try the new
> logging system.
> 
> That's all I got.
> 
> N.
> 
> On Sun, Jul 27, 2008 at 2:40 AM, YC <yinso.chen at gmail.com> wrote:
> > Hi -
> >
> > is there a way to send trace output to current-error-port, without
> > parameterizing current-output-port?
> >
> > Basically I'm looking for a way to separate the output from the function
> > (which writes out to current-output-port) and the output from the trace.
> >
> > Thanks,
> > yc
> >
> >
> > _________________________________________________
> >  For list-related administrative tasks:
> >  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> >
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.