[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug



Yngve Skramm (skramm@ilf.uio.no) 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))
-David