IntelliJ IDEA 13.1 Web Help

The dialog box opens when you select the Class Filters check box and click the Browse button browseButton.png in the Breakpoints dialog box.


Use this dialog box to configure class filters that determine in which classes a specific breakpoint will be hit and in which classes this breakpoint should not be triggered.

Item Description
Class Filter In this area, configure the set of classes where the selected breakpoint must be hit. Specify the classes either explicitly or using a class pattern.

A class pattern is a string that may start or end with an asterisk (*). The asterisk in a pattern means any number (including zero) of any characters. The patterns are matched against fully qualified class names.

The breakpoint behavior is different in relation to classes specified by their names or using class patterns.

A filter specified through a class name points at the class itself as well as at all its subclasses (i.e. the classes directly or indirectly extending this one).

A filter specified through a class pattern points at the classes whose fully qualified names match the pattern. The subclasses of such classes are selected only if their fully qualified names also match the specified pattern.

  • The list shows all the specified class names and class patterns. To have the breakpoint hit in the class or classes identified by a name or pattern, select the check box next to the corresponding item.
  • add_class: click this button to open the Choose Class dialog box and specify a new class to be included in the filter. You can search for classes either by their names or using the project tree view.
  • add_class_pattern: click this button to open the New Filter dialog box, where you can type the class pattern.
  • delete: click this button to have the selected item deleted from the list. Accordingly, the breakpoint will be no longer hit in the class or classes that match the removed name or pattern.
Class Exclusion Filter In this area, configure the set of classes where hitting the selected breakpoint is suppressed. Specify the classes either explicitly or using a class pattern.
  • The list shows all the specified class names and class patterns. To suppress hitting the breakpoint in the class or classes identified by a name or pattern, select the check box next to the corresponding item.
  • add_class: click this button to open the Choose Class dialog box and specify a new class to be included in the exclusion filter. You can search for classes either by their names or using the project tree view.
  • add_class_pattern: click this button to open the New Filter dialog box, where you can type the class pattern.
  • delete: click this button to have the selected item deleted from the list. Accordingly, hitting the breakpoint in the class or classes that match the removed name or pattern will no longer be suppressed.

See Also

Concepts:

Procedures:

Reference:

Web Resources: