* 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.