Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Using Xcode’s Debugger
You debug your application by launching it from within Xcode. I follow this procedure when I want to debug my apps:
1. Click the Hide or Show the Debug Area View button in the toolbar to reveal the Debug area if it’s not already visible.
The Debug area opens in your project window (see Figure 11-4).
Figure 11-4: You see this window when you’re ready to dive into your code line by line.
2. Click the Run button to launch your app.
You probably want to resize the project window so that you can see your app and the project window next to each other (which is one of the many reasons why bigger screens and multiple displays are better). Figure 11-5 shows you what
SimpleCocoaWindowApp looks like next to the Project window.