Repository navigation
[Request] How to read stack traces #53
Description
Activity
Great! Also if you find places in existing content where we can reference this new article, let us know!
It might be possible to mention this article in the Stack Overflow post mentioned above.
However, it's probably a good idea to first ask on Meta Stack Overflow before whether this is OK for them since they consider any sort of undisclosed affiliation as spam but I'm fairly certain they should be fine with an official article. I can do that if necessary.Furthermore, we are probably able to use a link to that article in our JUG when people ask about stack traces.
hi @danthe1st was this ever worked on?
@carimura I don't know of anything being done with respect to this issue.
Would you like to work on it? :)
I actually wanted to ask for that recently. So yeah, I would be interested to work on that if I find time.
sounds good. trying to organize content "in flight" with a new label. no rush. :)
Should this be closed now that #87 is held off or should this issue be kept open (with the progress label removed)?
I don't know about the exact plans for content on stack traces.
There are currently 4 articles about exceptions on dev.java.
However, none of them seem to explain what exactly a stack trace is, how to read it and how to find out where the issue is.
I frequently see new Java users (e.g. students) being confused by (especially bigger) stack traces with no idea on how to debug them.
While this Stack Overflow post explains it quite well, I think this is a good fit and would be a helpful article (especially for referencing it to new Java developers).
I would like such an article to contain the following:
Caused Bysection?Suppressedsection?System.out.println("error");instead ofe.printStackTrace();(or re-throwing) in acatch-block for exceptions that shouldn't happen?