Debugging Practices

There are some days at work where I’ll spend half of my day working with some of the newer developers, helping them debug their code. Sometimes I’m as stumped as they are, but sometimes I’m amazed at how little they seem to have tried before seeking help. In an effort to help them out I’ve put together a Debugging Practices page of questions and hints, grouped by approach, on my BackPack account (if you sign up, use that link and I’ll get the referral). Aaron Johnson and Brian Hogan made contributions on Databases, Comments, Unit Tests, and Aborting, which I think were great additions to the piece.

My hope is that, when developers hit a snag in their code and aren’t sure where to go next, this will give them some ideas for how to find the answers. Of course I’m always willing to answer their questions, but every time someone solves their own problem is a time that other developers can continue on their own development.

If anyone reading this has any contributions they’d like to suggest, I’d love to hear them.