Hour 24. Application Tracing and Debugging

What You’ll Learn in This Hour:

• Using the NSLog function

• Navigating the Xcode debugger

• Setting breakpoints and watchpoints

• Modifying variable values on-the-fly

• Tracing iOS program execution

Despite our best efforts, no application is ever bug-free. As we end our 24-hour exploration of iOS development, we look at techniques for finding and fixing issues in our applications. The ability to find and eliminate bugs quickly is an essential skill.

Xcode brings together the five basic tools of the software developer’s trade into a single application: the text editor, compiler, linker, debugger, and reference documentation. Xcode has debugging tools integrated within it, so all your debugging activities ...

Get Sams Teach Yourself iOS 6 Application Development in 24 Hours, Fourth Edition 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.