Setting Breakpoint Actions and Options

    Steps
  1. In the breakpoint navigator, Control-click the breakpoint, and choose Edit Breakpoint from the shortcut menu.

  2. Set the actions and the options for the breakpoint in the breakpoint editor.

image: ../art/breakpoint-action-sound.jpg

Specify what Xcode does when a breakpoint is triggered with the breakpoint editor.

Each breakpoint type has specific properties that define it, such as condition and ignore count (for file line breakpoints), symbol name (for symbolic breakpoints), and exception type (for exception breakpoints). But all breakpoint types share two properties:

The screenshot shows a file line breakpoint that is ignored the first five times it is hit. Subsequent hits trigger the breakpoint, which causes Xcode to emit a sound and continue program execution.