From dee84e3bff06526e200888a5b2086cba2d3179dc Mon Sep 17 00:00:00 2001 From: emarsden <emarsden> Date: Mon, 5 May 2003 11:56:53 +0000 Subject: [PATCH] - Add printing of condition type in the tty debugger --- code/debug.lisp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/debug.lisp b/code/debug.lisp index 3bb415956..b6c40d549 100644 --- a/code/debug.lisp +++ b/code/debug.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug.lisp,v 1.58 2003/04/16 13:31:17 toy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug.lisp,v 1.59 2003/05/05 11:56:53 emarsden Exp $") ;;; ;;; ********************************************************************** ;;; @@ -697,8 +697,9 @@ See the CMU Common Lisp User's Manual for more information. ;;; Print condition and invoke the TTY debugger. ;;; (defun invoke-tty-debugger (condition) - (format *error-output* "~2&~A~2&" - (safe-condition-message *debug-condition*)) + (format *error-output* "~2&~A~% [Condition of type ~A]~2&" + (safe-condition-message *debug-condition*) + (type-of *debug-condition*)) (unless (typep condition 'step-condition) (show-restarts *debug-restarts* *error-output*)) (internal-debug)) -- GitLab