3.6 Debugging compiled code

3.6.1 Tail calls

When tail merging is on, the caller of a tail-called function does not appear in a Debugger backtrace because the stack frame for the caller has been used by the called procedure. To trace tail calls, turn off tail merging when you compile tail-recursive functions by setting the :tail-merge keyword argument of the functionscompile, compile-file, orcompiler-options tonil. You can also turn off tail merging by setting thespeed optimization level to 2 or less.

The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker