void (@NotNull AnActionEvent e) { DataContext dataContext = e.getDataContext(); Project project = CommonDataKeys.PROJECT.getData(dataContext); if (project == null) return; if (myInitialBreakpoint == null) { Editor editor = CommonDataKeys.EDITOR.getData(dataContext); if (editor != null) { myInitialBreakpoint = XBreakpointUtil.findSelectedBreakpoint(project, editor).second; } } BreakpointsDialogFactory.getInstance(project).showDialog(myInitialBreakpoint); myInitialBreakpoint = null; }