Hacker News new | ask | show | jobs
by qbg 5539 days ago
I have been working on a fork of Clojure off-and-on that tries to improve the debugging experience (https://github.com/qbg/clojure). How do you think the stack traces could be improved?
2 comments

Suppose you accidentally put an extra pair of braces deeply inside a function. The message you'll get is something like "could not cast to function" without any meaningful information where this happened.
This is one example of how to remove uninteresting stack frames from Clojure stack traces. http://j.mp/h3xzdN