clj-stacktrace
clj-stacktrace copied to clipboard
More readable stacktraces for Clojure
I would like to get the stacktrace from an nREPL session using clj-stacktrace's `parse-exception`. I would get it back as a String, which I could then apply `read-string` to and...
Hi, I noticed that `(clj-stacktrace.repl/method-str)` was not handling `_SINGLEQUOTE_`, so I updated the name translation map to the latest one latest one I found in the [Clojure source code](https://github.com/clojure/clojure/blob/2e76c57d3b7672ce5eca096ed2059d9a1dd379d0/src/jvm/clojure/lang/Compiler.java#L2794-L2819). I'd...
Code to configure colors by passing them in as keyword arg options to pst+
The following code raises a `java.lang.ArithmeticException` with an one-element stack trace that `clj-stacktrace.repl/find-source-width` can't handle, so an `IndexOutOfBoundsException` is raised when trying to print it. Versions used: `[clj-stacktrace "0.2.6"]` and...
Sometimes, `class-name` is nil, so the regex in `clojure-code?` explodes, hiding the real error. The obvious fix seems to work for me: https://www.refheap.com/paste/03b864ff16c883ca2370f7838
I may be missing something obvious: I'm just following the instructions in README.md blindly. I'm using Clojure 1.4.0, Leiningen 2.0.0, Java 1.7.0_09 If I run command: ``` (use 'clj-stacktrace.repl) ```...
See https://github.com/emezeske/lein-cljsbuild/issues/178#issuecomment-12690982 Something like this ``` clojure (on $body :click :#a nil (fn [e] (log "test";;) ) ) ``` would trigger it.
(use 'clj-stacktrace.repl) in :repl-options :init causes ac-nrepl.el to hang caching JVM class names
Apologies as I'm not sure if the problem is with clj-stacktrace or with https://github.com/purcell/ac-nrepl, but it's a bit of a showstopper for using this in the REPL in emacs so...
It seems that whenever examining stacktraces, millions of programmers everywhere are scrolling up. Could clj-stacktrace put the error at the bottom instead of the top?