News for hackers. Stuff that matters.
Re:Great Programmers Write Debuggable Code by henrik_w on Monday May 06, 2013 @07:21AM (#5661794)
So true! One of my pet peeves! Truly pathetic to not include dynamic info like hostname, port and reason.

Who are these people writing code like that - they never had to debug a problem before? Include as much as you can! A stack trace is only part of the story.

Re:Great Programmers Write Debuggable Code by noss on Monday May 06, 2013 @10:56AM (#5662722)
Definitely, I often catch exceptions and wrap them just to add more information from the try-finally scope. It is so frequently useful to get a full story of what the app was attempting to do.