RubyMine 7.0.1 Web Help

You can add your own label to a variable, object, or watch and then reference it as if it were a local variable <label-name>_DebugLabel defined in the same context where the expression is evaluated. RubyMine also displays these labels in suggestion pop-up lists for code completion in the Evaluate Expression dialog box.

To set a label
  1. Select the desired watch in the list
  2. Select Mark Object on the context menu or press F11F11F11F11F11Ctrl+F2F11Ctrl+Shift+F11⌘+F2F3F11F3Shift F6. The Select object label dialog box opens.
  3. Specify the label name.
  4. Click the Browse button browseButton.png to change the label color. Click OK when ready.

To remove a label, right-click the item and select Unmark Object on the context menu, or select the item in the list and press F11F11F11F11F11Ctrl+F2F11Ctrl+Shift+F11⌘+F2F3F11F3Shift F6.

See Also

Procedures:

Reference:

Web Resources: