O'Reilly logo

Advanced Mac OS X Programming: The Big Nerd Ranch Guide by Mark Dalrymple

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging Techniques

Being able to use debugging tools is only part of the debugging battle. Becoming an effective debugger is a holistic, never-ending process. I have been debugging software for over twenty years, and I am still learning new ways of producing (and finding) program errors. Here are some things I have learned over the years.

One of the most important things to remember is that bugs are just errors. They are mistakes that people, either you or others, have made. They are not things that randomly crawl into your code. Some programmers don’t call bugs bugs but instead use the more accurate (but less fun) term defect to emphasize that bugs are just mistakes. Knowing that a bug can be tracked down to a mistake that has been made ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required