Did you know that you can set conditions for your breakpoints?
- Click at the gutter in Xcode editor on the line of code to set a breakpoint
- Ctrl-click the breakpoint and choose
- Type in the condition. eg.
i == 13
Conditional breakpoints will only break when it matches the condition.