Dear new developer, I wrote about debugging a few weeks back. I wanted to get more concrete. One time a friend called in about his client. The client was getting doubled orders on their ecommerce site. That is, someone would order five widgets on their site. The system would have some kind of hiccup and … Continue reading On debugging, v2
Tag: debugging
On debugging
Dear new developer, Debugging systems is a key skill to have. Here are a few thoughts about it. Try to get the problem to be as simple as possible. Start with the problem and keep isolating and removing pieces and see if the problem persists. Modern systems are complex and the less you have to … Continue reading On debugging
Learn to use a debugger
Dear new developer, When you are fixing a bug in a program you are working on, a key thing to do is to get an understanding of the state of the system. This can include user input, stored values from a persistent data store, and non recurring information like the current time. But the most … Continue reading Learn to use a debugger