boolean (@NotNull Project project, AnActionEvent event) { DataContext dataContext = event.getDataContext(); Editor editor = CommonDataKeys.EDITOR.getData(dataContext); if (editor == null) return false; final Pair<GutterIconRenderer,Object> pair = XBreakpointUtil.findSelectedBreakpoint(project, editor); return pair.first != null; }