2 ms·
It has, several times (the clojure.stacktrace lib, also https://github.com/mmcgrana/clj-stacktrace https://github.com/mmcgrana/clj-stacktrace). The problem is
by lukev 14y ago
It has, several times (the clojure.stacktrace lib, also https://github.com/mmcgrana/clj-stacktrace https://github.com/mmcgrana/clj-stacktrace).
The problem is that these require a running, working system to format and print the stacktrace (as well as inspecting the state of the Clojure runtime). Unfortunately, uncaught exceptions will also quite often FUBAR the REPL, if not the entire JVM, meaning that improved stacktrace tools can only work some of the time, and will sometimes even make things much worse (if the JVM throws an exception from within the stacktrace formatter itself.)