@andybalaam In Debugging The Development Process (1994) he recommends stepping through every line of code you write in the debugger.
I've spent all day working on a plugin to an application, working against a rather crappy API, and it's the only practical way to verify what you've written does what you expect.