|
Subject: Araneida 0.82: SLIME integration Newsgroups: gmane.lisp.clump, gmane.lisp.web Date: 2003-11-29 22:07:54 GMT (5 years, 31 weeks, 1 day, 14 hours and 39 minutes ago)
In the process of being uploaded just now: get from
ftp.linux.org.uk:/pub/lisp/cclan or other cclan mirror
New in 0.82
* SLIME integration: the SLIME debugger can now be used to debug
errors that occur in handlers. This is controlled by the
* New variable *RESTART-ON-HANDLER-ERRORS*, which replaces the
badly-named *BREAK-ON-HANDLER-ERRORS*. It can contain a function
which is run on handler errors to provide an alternative debugger
interface.
That's right, get an error in an Araneida handler and the elisp-based
SLIME debugger kicks in. This requires CVS SLIME, but so does
everything these days
CL-USER> (require 'araneida)
[...]
CL-USER> (load (compile-file "doc/example"))
; compiling file "/home/dan/src/telent/araneida/doc/example.lisp" (written 24 NOV 2003 05:51:27 PM):
; /home/dan/src/telent/araneida/doc/example.fasl written
; compilation finished in 0:00:01
CL-USER> (setf araneida:*restart-on-handler-errors* (swank:slime-debugger-function))
#<FUNCTION "CLOSURE" {90C23BD}>
CL-USER> (araneida:start-listening my-araneida-example::*listener*)
#<SB-IMPL::HANDLER INPUT on descriptor 5: #<FUNCTION "CLOSURE" {9DBF1D5}>>
-dan
--
http://web.metacircles.com/ - Open Source software development and support
_______________________________________________ Clump mailing list Clump <at> caddr.com http://manly.caddr.com/mailman/listinfo/clump |
|
|