On Fri, 13 Jan 2006, Jonathon McKitrick wrote:
On Fri, Jan 13, 2006 at 04:18:37PM +0100, Paolo Amoroso wrote: : Jonathon McKitrick jcm@FreeBSD-uk.eu.org writes: : : > I'm new to SLIME, and trying to figure out some practical debugging strategies : > since I'm so used to single-stepping and breakpoints, and we don't have those : > facilities (IIRC) under Lisp/SLIME. : : My own debugging approach is heavily based on SLIME's ability to : display function call backtraces and examining/inspecting stack : frames. I personally rarely use single-stepping and breakpoints.
But doesn't that require an exception or an error to break into the debugger? If you are trying to track down a logic error, what approach can you use?
PRINT. The fact that it returns its argument and that recompiling a function takes a fraction of a second, makes this old-fashioned debugging method quite useful.
Andras