Xcode Tip: Breakpoints Have So Much More To Offer Than Simply Stopping On A Line

Breakpoints in Xcode offer many options for customization. If you aren’t using this flexibility, you are missing an opportunity to shorten your debug cycle.

For example, you can set a conditional option to ignore a breakpoint a specified number of times. There is also a list of actions that you can associate with a breakpoint, including running a shell command or applescript, executing a debugger command, or playing a sound (one of my favorites to know I reached a certain point in my code).

To configure these options, right click on breakpoint: