New tool helps debug Java exceptions faster
excepterror.com
excepterror.com
In theory, it could analyse all versions of a library, and then choose only those versions that could lead to the given stack trace. Even that would be error prone, and may lead to multiple results.
Setting up an IDE would take extra time, but would be the best way to debug the exception.
Agree that IDE is the best way, especially when it comes to Java, but it's not always possible. For example you may be debugging distributed systems in production.
Edit: the ngram part was so that you could paste in random snippets of code and get hits in the version control store to start navigating. It was strictly needed for the exception hyperlinking.
I really like that grepcode lets you see which version and what repository matches what you searched. It can make finding why something doesn't work in a particular released version of a library much easier.
I have three suggestions:
1) each stack frame has method name. That could be used to filter out obvious errors.
2) provide selection between multiple versions if there are more options
3) let me upload POM, parse classpath or something.
It's more or less what your tool does on the web.
Your tool may still be useful if some arcane third party app crashes, but how would you track the proper source code without info on dependencies' versions?
My bits: - Might want to mention the title of the file it is displaying. - What does "versions" do?
"versions" tells you all the software versions which match, based on the context derived from the exception. For example, if you're unsure what version of Hadoop you're running, it'll tell you.