Search results for: debugging

Whattup With Walt: Whattup with debugging?

Every time I’ve had a big debugging problem, it was because something was going on in the code that I wasn’t seeing. I’m sure you’ve had the experience of, after solving a bug, saying, “Oh, of course, that should have been obvious.” Well, it would have been obvious if you had seen what you thought was obvious, earlier. Having that experience, over and over again, taught me to make the inner workings of my program as visible as possible. #1. Write complete, detailed logs I start with writing complete and detailed logging. My log messages contain time, date, thread, log […]