[slime-cvs] CVS slime
mkoeppe
mkoeppe at common-lisp.net
Mon Aug 6 03:20:01 UTC 2007
Update of /project/slime/cvsroot/slime
In directory clnet:/tmp/cvs-serv9464
Modified Files:
swank.lisp
Log Message:
(backtrace): Handle printer errors while printing a frame. This makes
debugging print-object methods with SLIME easier. Reported by Utz-Uwe
Haus.
--- /project/slime/cvsroot/slime/swank.lisp 2007/06/04 16:17:17 1.490
+++ /project/slime/cvsroot/slime/swank.lisp 2007/08/06 03:20:00 1.491
@@ -2923,7 +2923,10 @@
(loop for frame in (compute-backtrace start end)
for i from start
collect (list i (with-output-to-string (stream)
- (print-frame frame stream)))))
+ (handler-case
+ (print-frame frame stream)
+ (t ()
+ (format stream "[error printing frame]")))))))
(defslimefun debugger-info-for-emacs (start end)
"Return debugger state, with stack frames from START to END.
More information about the slime-cvs
mailing list