Debugging (Java)

Debugging is a seriously underrated skill. I see so many developers who think it is fine spamming System.out.println() to try and debug whatever problem they face.

This is so wrong and shortsighted that its quite baffling to me how anyone could be proud writing code like that.

As soon as your project reaches any scale and depth you need certain kinds of tools in order to continue. In this series I try to cover the tools and their features that I have used most.

The series takes focus on the java environment, but the concepts apply to most other languages as well. Any sufficiently developed language should have tools like the ones used in the series.

The Parts

  1. The Debugger
  2. Stack Dumps
  3. Heap Dumps
  4. Memory Leaks
Tobias Hübner