[Ecls-list] debugging: local variables in the compile functions

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Feb 21 21:33:32 UTC 2011


On Mon, Feb 21, 2011 at 6:01 PM, Anton Vodonosov <avodonosov at yandex.ru>wrote:

>
> For example this functions. After compilation, locals are not available in
> the debugger:
>  (defun test(a b c)
>  (declare (optimize (debug 3) (speed 0) (safety 0)))
>  (let ((x a) (y b) (z c))
>    (test2 x y z)))
>

Discarded variables are not even defined. Here X, Y and Z are replaced by
their values. But you are right: the definition of
policy-debug-variable-bindings was bogus -- fixed in CVS.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110221/fa5a1b0f/attachment.html>


More information about the ecl-devel mailing list