[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: firstname.lastname@example.org (Neves ), email@example.com
- Subject: Re: debug
- From: firstname.lastname@example.org (Bill St. Clair)
- Date: Wed, 28 Sep 1994 14:40:04 -0400
At 3:27 PM 9/28/94 +0000, Neves wrote:
>Yngve Skramm (email@example.com) 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.