AppCode 2017.1 Help

Creating Line Breakpoints

On this page:

Basics

A line breakpoint /help/img/idea/2017.1/db_set_breakpoint.png is a breakpoint assigned to a specific line in the source code.

Line breakpoints can be set on executable lines. Comments, declarations and empty lines are not valid locations for the line breakpoints.

/help/img/idea/2017.1/AppCode_UsingBreakpoints1.png

Creating line breakpoints in the editor

  1. Place the caret on the desired line of the source code.
  2. Do one of the following:
    • Click the left gutter area at a line where you want to toggle a breakpoint.
    • On the main menu, choose Run | Toggle Line Breakpoint.
    • Press ⌃F8.

Creating temporary line breakpoints

  1. Place the caret on the desired line of the source code.
  2. Do one of the following:
    • On the main menu, choose Run | Toggle Temporary Line Breakpoint.
    • Press ⌃⌥⇧F8.

Deleting line breakpoints

Do one of he following:

  • In the Breakpoints dialog box, select the desired line breakpoint, and click /help/img/idea/2017.1/delete.png.
  • In the editor, locate the line with the line breakpoint to be deleted, and click its icon in the left gutter.
  • Place caret on the desired line and press ⌃F8.

See Also

Last modified: 28 March 2017