pallet / ritz

SWANK and nREPL servers for clojure providing JPDA based debuggers
318 stars 33 forks source link

Debugger does not clear :abort-to-level Flag #51

Closed juergenhoetzel closed 11 years ago

juergenhoetzel commented 12 years ago

Enable (slime-break-on-exception)

user> (throw (Exception. "Foo")) ; Evaluation aborted on java.lang.RuntimeException: java.lang.Exception: Foo. -> Debugger invoked (Aborting to toplevel) user> (throw (Exception. "Foo")) ; Evaluation aborted on java.lang.RuntimeException: java.lang.Exception: Foo. -> Debugger invoked (Aborting to toplevel) user> (throw (Exception. "Foo")) ; Evaluation aborted on java.lang.RuntimeException: java.lang.Exception: Foo. -> Debugger not invoked

The Debugger is not invoked because the :abort-to-level flag which is maintained for each thread is not cleared.

Workaround:

use the M-x slime-selector t and kill the ritz-nnnn threads, so that they don't get reused.

hugoduncan commented 11 years ago

Fixed in 0.6