Graphics Programs Reference
In-Depth Information
the bottom of the debug navigator expands and collapses the stack. Drag it to the right to
see all of the methods in the stack trace. ( Figure 4.10 ).
Figure 4.10 The debug navigator
The method where the break occurred is at the top of the stack trace. It was called by the
method just below it, which was called by the method just below it, and so on. This chain
of method calls continues all the way back to main . Notice that the two methods that you
implemented are in black text and the methods belonging to Apple are in gray.
Select the method at the top of the stack. This will display the implementation of
initWithNibName:bundle: in the editor area. Below the editor area, check out the
variables view to the left of the console. This area shows the variables within the scope of
this method along with their current values ( Figure 4.11 ) .
Figure 4.11 Debug area with variables view
 
 
Search WWH ::




Custom Search