Changeset 5131


Ignore:
Timestamp:
12/14/03 17:16:04 (17 years ago)
Author:
piso
Message:

Work in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/debug.lisp

    r5012 r5131  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: debug.lisp,v 1.10 2003-12-08 02:52:29 piso Exp $
     4;;; $Id: debug.lisp,v 1.11 2003-12-14 17:16:04 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    1717;;; along with this program; if not, write to the Free Software
    1818;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     19
     20(in-package "EXTENSIONS")
     21
     22(export '*debug-condition*)
     23
     24(defvar *debug-condition* nil)
    1925
    2026(in-package "SYSTEM")
     
    3541          (*debugger-hook* nil))
    3642      (funcall hook-function condition hook-function)))
     43  (setf *debug-condition* condition)
     44  (when condition
     45    (fresh-line *debug-io*)
     46    (%format *debug-io* "Debugger invoked on condition of type ~A:~%" (type-of condition))
     47    (%format *debug-io* "  ~A~%" condition))
    3748  (catch 'tpl::continue-catcher
    3849    (clear-input)
Note: See TracChangeset for help on using the changeset viewer.