[racket] Can I trace calls of a function?

From: Laurent (laurent.orseau at gmail.com)
Date: Mon Jun 28 14:20:08 EDT 2010

On Mon, Jun 28, 2010 at 01:32, Sam Tobin-Hochstadt <samth at ccs.neu.edu>wrote:

> On Sun, Jun 27, 2010 at 8:40 AM, Laurent <laurent.orseau at gmail.com> wrote:
> >
> >
> > On Sun, Jun 27, 2010 at 14:35, Sam Tobin-Hochstadt <samth at ccs.neu.edu>
> > wrote:
> >>
> >> #lang racket
> >>
> >> (require racket/trace)
> >>
> >> (define (f x)
> >>  (if (zero? x) "done" (f (sub1 x))))
> >>
> >> (trace f)
> >>
> >> (f 100)
> >
> >
> > Is it possible to add this example to the docs?
>
> Done (see the new "Debugging" section in the Reference).
>
>
Thanks!
This is really pleasant to have so helpful folks around here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100628/69ec681f/attachment.html>

Posted on the users mailing list.