RubyMine 2017.2 Help


Run | View Breakpoints

In this section:


ItemTooltip and shortcutDescription
/help/img/idea/2017.2/new.pngAdd Breakpoint
Click to show the list of available breakpoint types. Select the desired type to create a new breakpoint.
/help/img/idea/2017.2/delete.pngRemove BreakpointClick this button to remove selected breakpoints.
/help/img/idea/2017.2/fileTypeText.pngGroup by FileClick this button to display breakpoints under their respective files, rather than under their types:

Breakpoint options

The controls of this part of the Breakpoints dialog depend on the type of the selected breakpoint.

OptionDescriptionTypes of breakpoints
SuspendSelect this check box to suspend program when a breakpoint is hit. If the check box is not selected, the program is not suspended. All types
Condition Select this check box and specify a condition for hitting a breakpoint in the text field.

A condition is a Boolean expression.

This expression should be valid at the line where the breakpoint is set, and is evaluated every time the breakpoint is reached. If the evaluation result is true, user-selected actions are performed.

If the result is false, the breakpoint does not produce any effect. If the Debugger cannot evaluate the expression, it displays the Condition evaluation error message. You can select whether you would like to stop at this breakpoint or ignore it.

To the right of the Condition field, there is the button /help/img/idea/2017.2/shift-enter-button.png(Shift+Enter) that opens the multiline editor.

All types
Log message to console Select this check box if you want a log message to be displayed in the console output when the breakpoint is hit.All types
Evaluate and logSelect this check box if you wish to evaluate a certain expression at this breakpoint and to export result to the console output.

To the right of this field, there is the button /help/img/idea/2017.2/shift-enter-button.png(Shift+Enter) that opens the multiline editor.

Line breakpoints
Remove once hitSelect this check box, if the you want the breakpoint to be deleted after hitting it.All types
Disabled until selected breakpoint is hitFrom the drop-down list, select the breakpoint in question. The option None corresponds to the always enabled breakpoint.

Besides that, you can also choose the behavior of this breakpoint, when the selected one is hit:

  • Disable again
  • Leave enabled
All types

Context menu commands

Move to groupPoint to this command to move the selected breakpoint to a new group, to one of the existing groups(<group name>), or out of a group (<no group>).
Edit descriptionChoose this command to enter or change description of a breakpoint.

Speed search of a breakpoint

To find a particular breakpoint

  • Start typing address or description of the target breakpoint:

    RubyMine highlights the line with the matching address or description.

Last modified: 26 October 2017

See Also