> I'm happy to announce an alpha release of clj-backtrace, a library for
> processing backtraces generated by Clojure programs. The library works
> by separating useful backtrace information from the noise generated by
> the Clojure compilation process, and also provides functions for
> pretty-printing these cleaned backtraces.
Thanks a lot, this is *very* useful.
I just wonder how it works. All I did is add the library to the
classpath and (use) it. That seems to be sufficient to change the
behaviour of code that was there before. Do you re-define any hooks?
Konrad.
> Thanks for trying the library, I'm glad you found it useful. It should
> not redefine any existing behaviour - could you share a REPL session
> showing the behavior that seemed to change?
Nothing except what the library is supposed to do: clean up the
backtrace printouts. I am wondering how a simple (use) can change the
way the backtrace is printed.
Konrad.
> It prints the cleaned backtrace. Could you provide REPL sessions like
> these that indicate the unexpected behavior?
Sorry for the false alarm: I had used different shell scripts for
launching Clojure with and without your library, and I just
discovered that they also use different Clojure versions, one of them
being pretty old. That's the real cause for the differences I saw!
Konrad.