[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: email@example.com (Neves ), firstname.lastname@example.org
- Subject: Re: debug
- From: email@example.com (Bill St. Clair)
- Date: Wed, 28 Sep 1994 14:40:04 -0400
At 3:27 PM 9/28/94 +0000, Neves wrote:
>Yngve Skramm (firstname.lastname@example.org) wrote:
>: Beginner question about MCL 2.0: We can't seem to get trace to work
>: properly. It shows values entering and exiting a function, that is correct.
>: However a recursive function is called several times, and should produce an
>: output from trace every time it is called. This doesn't happen :-( We copy
>: the manual exactly, but get a different printout. Has anybody got a
>: solution to this problem?
>Make sure you include the "notinline" declaration in the recursive
>definition. e.g. (declare (notinline fact))
Alternatively, you can compile with an (optimize (debug 3))
declaration in effect. This disables both tail-recursion elimination
and self-call optimization.