[slime-devel] Debugging without stepping
Brian Downing
bdowning at lavos.net
Fri Jan 13 16:18:04 UTC 2006
On Fri, Jan 13, 2006 at 03:48:29PM +0000, Jonathon McKitrick wrote:
> 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?
Liberal ASSERT forms will serve to drop you into the debugger when
suspicious things happen. If the run-time cost is problematic for
release they can be conditionally killed by simply shadowing ASSERT in
your package.
http://www.lispworks.com/documentation/HyperSpec/Body/m_assert.htm
Also, TRACE is your friend.
-bcd
--
*** Brian Downing <bdowning at lavos dot net>
More information about the slime-devel
mailing list