Dynamically prevent slime debugger
ctlaux at gmail.com
Thu Mar 6 10:06:29 UTC 2014
Thanks for the input, I've got it working now, albeit in a hackish way. But
I think this is an idea for a feature in slime, other people must have this
problem too: you have a lot of threads running and suddenly they all pop up
the same error you can't sensibly interact with emacs any more...
On Thu, Mar 6, 2014 at 2:21 AM, Xiaofeng Yang <n.akr.akiiya at gmail.com>wrote:
> You could change the *debugger-hook* variable to handle the conditions as
> what you want, e.g.
> (defvar *use-slime-debugger* t)
> (setq *debugger-hook*
> (let* ((slime-debugger-hook *debugger-hook*)
> (new-debugger-hook (lambda (&rest
> (if *use-slime-debugger*
> (apply slime-debugger-hook
> ; do what you want
> But be aware, there might be additional problems you could meet.
> Best regards,
> Xiaofeng Yang
> 2014-03-06 7:19 GMT+08:00 Christopher Laux <ctlaux at gmail.com>:
>> is there a good way to prevent slime (or rather swank) from dropping into
>> the slime debugger depending on the value of a variable? Specifically I
>> want to limit the number of open debugger windows to 1 and simply log all
>> further simultaneous errors. Any help appreciated,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slime-devel