O'Reilly logo

Mac Programming for Absolute Beginners by Wallace Wang

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

Chapter 24. Debugging Your Program

Programs rarely work right the first time. In most cases, you'll need to fix problems as they occur until your program finally works. However, just because a program seems to work doesn't mean that it will work, so that involves more testing and fixing, known as debugging.

After you've debugged your program so that it finally does what it's supposed to do without crashing, freezing, or wrecking other files on a computer, you may be ready to ship it. That's the point where you have an actual working program that you can sell and distribute to others.

The main goal of writing any program is to get it to work. Once you get your program to work, you can stop right there and celebrate. Once you release your program ...

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