Chapter 11. Debugging and optimizing your application

This chapter covers

  • Debugging applications without tools
  • Using breakpoints and stepping through your code
  • Watching variables
  • Optimizing the performance of an app

You’ve written some great-looking apps that work well, but what happens when things don’t go so smoothly? Sometimes a newly written app may behave unexpectedly or even crash. These problems are caused by programming errors often called bugs, and even the most experienced programmers make them.

Because bugs aren’t automatically detected by Xcode, they can be more difficult to find and fix, but don’t worry. Fortunately, there ...

Get Hello! iOS Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.