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)))))
Lynn Quam quam@ai.sri.com writes:
I find it somewhat annoying that I cannot see the arglist information for functions while in the SLIME debugger.
You could set slime-inhibit-pipelining to nil to enable it. Is there a reason you can't do that?
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.
Hmm.. that sounds complicated. It *could* work, but I don't think the little gain of convenience is worth the complexity.
Helmut.
On Thu, 25 Nov 2004, Helmut Eller wrote:
Lynn Quam quam@ai.sri.com writes:
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.
Hmm.. that sounds complicated. It *could* work, but I don't think the little gain of convenience is worth the complexity.
I changed my mind and implemented your suggestion. slime-space should now also work while debugging.
Helmut.
Helmut Eller wrote:
Lynn Quam quam@ai.sri.com writes:
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.
Hmm.. that sounds complicated. It *could* work, but I don't think the little gain of convenience is worth the complexity.
I changed my mind and implemented your suggestion. slime-space should now also work while debugging.
Helmut.
Thanks Helmut. I did a cvs update of SLIME and your changes appear to behave in the intended manner.