pyro icon indicating copy to clipboard operation
pyro copied to clipboard

Light up your Clojure stacktraces

Results 8 pyro issues
Sort by recently updated
recently updated
newest added

this is the only output I get after Pyro is enabled using `(printer/swap-stacktrace-engine!)`: ``` Syntax error (ClassNotFoundException) compiling at (pyro/source.clj:1:1). javax.xml.bind.DatatypeConverter ``` On macOS, Java 11 (openjdk version "11.0.2"), Leiningen...

I had mixed feelings about this for a while but I now think it's for the best. I really don't like having to scroll up to find the original stacktrace...

I think that the whitelist option is going to be something that I want an escape hatch for - i.e. when I think the problem is in application code but...

Changes in the Clojure compiler between 1.7 and 1.8 introduced additional stack frames on certain Clojure function calls (going from `.invoke` to both `.invoke` and `.invokeStatic`). For example: ``` pyro.core_test/fn...

For reasons I haven't been able to figure out, Pyro doesn't successfully reset printed source colors if the ending lines are a Clojure string. For example: This can probably be...

(inc nil), (dec nil) throw NPEs.

At the moment `pyro.source/get-var-filename` does a tolerable job of figuring out the filename for Clojure files, but doesn't work for Java files at all.