Araneida 0.82: SLIME integration

Daniel Barlow <[email protected]> Sat, 29 Nov 2003 22:07:54 +0000
Newsgroups gmane.lisp.clump,gmane.lisp.web
Message-ID <[email protected]>
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
[email protected]
http://manly.caddr.com/mailman/listinfo/clump
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/yRjAHDK5ZnWQiRMRAo8rAKCvXI310M/G2EvcPKsMxETF8xbC2ACeLZBf
9Q7y+E3/YXJzmEmJdfe+hYk=
=BZvF
-----END PGP SIGNATURE-----