[Nickle] trace command omits invariant functions

Keith Packard nickle@nickle.org
Thu, 05 Dec 2002 11:27:47 -0800


Around 14 o'clock on Dec 5, Carl Worth wrote:

> I assume the information I want may be long gone by the time the
> debugger gets involved. Would it be difficult to hold onto enough so
> that the debugger can always print a complete stack trace?

The compiler does tail-call optimizations; recursive programming without 
them tends to have memory problems.

You can actually disable these if you like, turning on profiling before 
compiling the functions tells the compiler to not short-circuit.

> profile(true)
> load "foo.5c"

-keith