November 2013
Intermediate to advanced
576 pages
19h 3m
English
In addition to user-set breakpoints, there are two types of breakpoints that can be enabled. These are done through the Breakpoint Navigator found in the left pane of the Xcode window.
Symbolic breakpoints can be used to catch all instances of a method or a function being run. For example, to log every instance of imageNamed: being called, a new symbolic breakpoint can be created for the symbol +[UIImage imageNamed:]. Figure 25.7 shows a symbolic breakpoint that will log each use of imageNamed: by playing a sound.
Figure 25.7 A symbolic breakpoint that will play a sound and continue every time a new image is ...
Read now
Unlock full access