[slime-devel] Re: Temporary maximum debug for compiling defuns

Helmut Eller heller at common-lisp.net
Thu Apr 17 15:01:16 UTC 2008


* Zach Beane [2008-04-03 17:22+0200] writes:

> I don't want to run my whole system with (DEBUG 3), but sometimes I
> want to compile an individual function with (DEBUG 3) to e.g. get more
> precise source locations in the debugger.

Yes, that sounds familiar. (DEBUG 2) should be enough to get source
locations, though.  

> The following is a patch that introduces this to slime, with an
> implementation for SBCL: if slime-compile-defun is given a prefix
> argument, it passes a request to the backend that the defun be
> compiled with maximum debug. The option is ignored on other backends.

I committed the patch.  

Helmut.




More information about the slime-devel mailing list