IntelliJ IDEA 11.1 Web Help

For a breakpoint, you can configure the following properties:

All settings are done in the Breakpoints dialog box, for a breakpoint selected in the list.

To configure actions, suspend policy and dependencies of a breakpoint
  1. Open the Breakpoint properties dialog box, click the tab that corresponds to the breakpoint type, and select the desired breakpoint in the list.
  2. To display the reaching of a breakpoint as a text message in the debugging console, check the option Log message to console.

    To evaluate an expression in the context of a breakpoint and display its value in the debugging console, check the option Log evaluated expression, and enter a valid expression in the option field.

    Note

    This feature lets you obtain information about your running application without having to suspend its execution.

  3. To set a breakpoint the current one depends on, select it from the Depends on drop-down list.
  4. In the Suspend policy area, select one of the option buttons to specify the way a running program will be paused upon reaching a breakpoint. For more information on the Suspend policy option, refer to Breakpoints dialog section.
To configure breakpoint conditions
  1. Open the Breakpoint properties dialog box, click the tab that corresponds to the breakpoint type, and select the desired breakpoint in the list.
  2. To set the break condition, enter the expression in the Condition field of the Conditions option group, and enable it by selecting the appropriate check box.
    • If the evaluation result is true, the user-selected actions are performed.
    • If the evaluation result is false, the breakpoint does not produce any effect.

    Note

    Conditions for field/method/exception breakpoints are calculated in the context for the given field/method/exception.

  3. To limit breakpoint hits only with particular object instances using instance IDs, check the Instance filters option and type the instance ID value, or click the ellipsis button and specify instance ID in the Instance Filters dialog.
  4. To define breakpoint behavior with regards to particular classes, select the Class Filter check box and specify the class filter. Type the class filter manually or click the Browse button browseButton and create the class filter definition in the Class Filters dialog box that opens.
  5. To define the number of times a breakpoint is reached but ignored, select the Pass count check box and specify the number of passes the breakpoint should be skipped before it is hit. For more information on Pass count option, refer to the Breakpoints dialog section.

See Also

Concepts:

Reference:

Web Resources: