Skip to content

Commit

Permalink
(install-debugger-globally): hook into the environment globally to ca…
Browse files Browse the repository at this point in the history
…tch BREAK.
  • Loading branch information
Martin Simmons committed Jul 2, 2008
1 parent 4223e78 commit 2410a8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions swank-lispworks.lisp
Expand Up @@ -225,6 +225,10 @@ Return NIL if the symbol is unbound."
(env:with-environment ((slime-env hook '()))
(funcall fun))))

(defimplementation install-debugger-globally (function)
(setq *debugger-hook* function)
(setf (env:environment) (slime-env function '())))

(defvar *sldb-top-frame*)

(defun interesting-frame-p (frame)
Expand Down

0 comments on commit 2410a8e

Please sign in to comment.