Tassilo Horn <tass...@member.fsf.org> writes:

> The "; Evaluation aborted." instantly appears.  No backtrace, no error
> message, not even in the *swank* buffer.
>
> If I use a plain "lein repl" instead, I get at least an error message:
>
>   (run* [q] (wrongo 1 2))
>   ; ClassCastException java.lang.Boolean cannot be cast to
>   ; clojure.lang.IFn  clojure.core.logic.Substitutions (logic.clj:207)
>
> But where is my backtrace?

The Clojure REPL has actually never provided stack traces for you.

> I suspected it may have something to do with clj-stacktrace (0.2.4)
> which I had installed as lein plugin.  So i deleted
>
>       ~/.lein/plugins/clj-stacktrace-0.2.4.jar
>
> and tried again with the same results.
>
> But although I deleted the clj-stacktrace jar (and validated that
> there's no such jar anymore on my whole system using "sudo updatedb &&
> locate clj-backtrace"), when I type (/ 1 0) at the REPL to provoke an
> error, I still get a coloured, indented backtrace.
>
> Why?  Does leiningen ship with a built-in clj-stacktrace version?  If
> so, how can I deactivate it to check if that's my backtrace eater?

Swank Clojure 1.3.4 and 1.4.0-SNAPSHOT depend on clj-stacktrace now.
Since lein plugins are uberjars, you won't necessarily see
clj-stacktrace as a separate file.

Can you provide version numbers for Emacs and Swank? Also if M-x
toggle-debug-on-error shows any details when the stack trace is
swallowed that would be helpful.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to