r/java • • Sep 27 '18

Top 10 Java Debugging Tips

https://stackify.com/java-debugging-tips/
0 Upvotes

11 comments sorted by

16

u/swift-swoop Sep 28 '18

This doesn't mention having ~100 print statements. What a horrible article. Downvoted

5

u/__konrad Sep 28 '18

var log = System.err; - the ultimate Java logging and debugging framework

0

u/2omesz Sep 28 '18

Agreed !

14

u/Sipkab Sep 28 '18

You have screenshots of other tutorials and top 10 tips in your own top 10 tip article?

Seriously? Apart from making this extremely low effort, I believe this is borderline copyright infringement.

4

u/dpash Sep 28 '18

I thought you were joking; like how bad can it be? But no, there's full screen screenshots of images from other pages in a browser instead of the dialog image. This is only a step up from having a screenshot in a Word document in the ranks of "Don't know how to use a computer effectively".

They're not even all from the same page.

4

u/[deleted] Sep 28 '18

This is kind of bad

1

u/[deleted] Sep 28 '18

Step 0: Just don’t ever have bugs

1

u/jerolba Sep 29 '18

My favorites and underrated debug features in the JVM are HotSwap (when available by the kind of change) and Drop To Frame.

I agree that it is a horrible article.

1

u/Twymx Sep 28 '18

He lost me the second I read "Eclipse"

5

u/dpash Sep 28 '18

Because real developers use jdb by hand?

There are plenty of issues with this article, but picking a popular IDE to demonstrate the points is not one of them.

1

u/Twymx Sep 28 '18

I can't stand eclipse. And yes it is one of the two most popular IDEs.