IDEA-159094 Filter exception breakpoints by catch location - show catch filters on...
authorEgor.Ushakov <egor.ushakov@jetbrains.com>
Mon, 1 Aug 2016 13:11:16 +0000 (16:11 +0300)
committerEgor.Ushakov <egor.ushakov@jetbrains.com>
Mon, 1 Aug 2016 13:11:57 +0000 (16:11 +0300)
java/debugger/impl/src/org/jetbrains/java/debugger/breakpoints/JavaBreakpointFiltersPanel.java

index f825bda78649664f31269c8f747735cbbac8c1c1..d8a568a58df64b9641a94be9149b7434ed921d23 100644 (file)
@@ -116,7 +116,11 @@ public class JavaBreakpointFiltersPanel<T extends JavaBreakpointProperties, B ex
   public boolean isVisibleOnPopup(@NotNull B breakpoint) {
     JavaBreakpointProperties properties = breakpoint.getProperties();
     if (properties != null) {
-      return properties.isCOUNT_FILTER_ENABLED() || properties.isCLASS_FILTERS_ENABLED() || properties.isINSTANCE_FILTERS_ENABLED();
+      return properties.isCOUNT_FILTER_ENABLED() ||
+             properties.isCLASS_FILTERS_ENABLED() ||
+             properties.isINSTANCE_FILTERS_ENABLED() ||
+             (properties instanceof JavaExceptionBreakpointProperties &&
+              ((JavaExceptionBreakpointProperties)properties).isCatchFiltersEnabled());
     }
     return false;
   }