GuideTechnology
18 min read
Debugging: Errors, Stack Traces, the Debugger and Logging
A method for finding bugs instead of guessing: read compiler errors and stack traces properly, form and test hypotheses, use breakpoints and stepping in a debugger, log usefully at the right level, and reach for thread dumps and heap dumps when the problem is a hang or a leak.

