[slime-devel] Re: step debugging in slime 3.0

Tobias C. Rittweiler tcr at freebits.de
Fri Aug 1 21:09:10 UTC 2008


Stuart Mackey <mackeysc at gmail.com> writes:

> I find I am able to step through a function if I invoke it via:
> 	> (step myfun)
> from the repl -- IF -- I have put debug related declarations in the
> defun like this:
>
> (defun myfun
> 	(declare (optimize
> 		(debug 3)
> 		(speed 0)
> 		(space 0)
> 		(compilation-speed 0)
> 		(safety 3)))
>
> 	...)

On SBCL, you can compile a function with maximum debug settings 
by using `C-u C-c C-c'. (This does not include setting the safety
setting, perhaps it should?)


> Having that same optimize form in a global 'proclaim' doesn't seem to
> have any affect for me. But maybe I'm just doing that part completely
> wrong. :)

PROCLAIM does not have any compile-time effects. Try DECLAIM instead.

  -T.




More information about the slime-devel mailing list