Chapter 7. Debugging Your Xcode Projects

No developer writes perfect code the first time—we're all human. Even when the editor provides Code Sense to help you to get your syntax right, you are going to make the occasional slip. You will also make mistakes in your code design and structure. So when you get bugs in your code, you need good support tools to help you to expunge them. In this short chapter, you will cover Xcode's tools for tracking and debugging your code.

The Debugger and Console Views

Remember back in Chapter 2 when you learned how you can use the General Preferences pane to choose from a variety of layouts in the Xcode Workspace. The default layout provides detached views for the different tools, including the two you're going to ...

Get Learn Xcode Tools for Mac OS X and iPhone Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.