[slime-devel] Arglist while in SLIME debugger

Lynn Quam quam at ai.sri.com
Thu Nov 25 18:41:48 UTC 2004


I find it somewhat annoying that I cannot see the arglist information
for functions while in the SLIME debugger.

Is it possible to change SLIME-BUSY-P so that SLIME-AUTODOC-MODE and
SLIME-SPACE will continue to work while inside the SLIME debugger?

To implement this, the SLIME-BUSY-P needs to know the
rex-continuations for the forms that cause the debugger to be entered.
The SLIME debugger needs to be able to figure out the rex-continuation
of the form that caused the debugger to be entered and add it to the
list in the global variable *SLDB-REX-CONTINUATIONS*.  When the
debugger exits, it needs to remove it from the list.

SLIME-BUSY-P would become something like:

(defvar *sldb-rex-continuations* nil)

(defun slime-busy-p ()
  "True if Lisp has outstanding requests."
  (let ((sldb-continuations *sldb-rex-continuations*))
     (dolist (contin (slime-rex-continuations) nil)
       (if (not (memq contin sldb-continuations))
           (return t)))))





More information about the slime-devel mailing list