<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">You could change the *debugger-hook* variable to handle the conditions as what you want, e.g.</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">
<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">(defvar *use-slime-debugger* t)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">(setq *debugger-hook* <br>
(let* ((slime-debugger-hook *debugger-hook*)<br> (new-debugger-hook (lambda (&rest args) <br> (if *use-slime-debugger* <br>
(apply slime-debugger-hook args)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small"> ; do what you want </div>
<div class="gmail_default" style="font-family:courier new,monospace;font-size:small"> ))))<br> new-debugger-hook))</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">
<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">But be aware, there might be additional problems you could meet.</div>
<div class="gmail_default" style="font-family:courier new,monospace;font-size:small"><br></div></div><div class="gmail_extra"><br clear="all"><div> Best regards,<br>Xiaofeng Yang</div>
<br><br><div class="gmail_quote">2014-03-06 7:19 GMT+08:00 Christopher Laux <span dir="ltr"><<a href="mailto:ctlaux@gmail.com" target="_blank">ctlaux@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi,</div><div><br></div><div>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,</div>
<div><br></div><div>Chris</div><div><br></div></div>
</blockquote></div><br></div>