Information Technology Reference
In-Depth Information
Inserting a breakpoint
To insert a breakpoint, click in the gutter area to the left of the for… line, as shown in Figure 15.10. An arrow
indicator appears in the gutter. Note that the debug mode button—the arrow to the right of the Stop icon in the
toolbar at the top left of Xcode—is selected and highlighted automatically. This tells you that Xcode is running
in debug mode and that breakpoints are active.
CAUTION
Be careful not to click in the shaded area to the right of the gutter. The shaded area controls the code folding fea-
ture described in Chapter 10. It hides the code instead of adding a breakpoint, which isn't what you want here.
FIGURE 15.10
Inserting a breakpoint
Search WWH ::




Custom Search