void (@NotNull AnActionEvent e) { Project project = e.getRequiredData(CommonDataKeys.PROJECT); Editor editor = e.getRequiredData(CommonDataKeys.EDITOR); XSourcePosition position = getLineBreakpointPosition(e); assert position != null; XBreakpointUtil.toggleLineBreakpoint(project, position, editor, false, true, true) .onSuccess(bp -> { if (bp != null && isConditional()) { EditorGutterComponentEx gutter = (EditorGutterComponentEx)editor.getGutter(); int x = -gutter.getWidth() + gutter.getLineNumberAreaOffset() + gutter.getLineNumberAreaWidth() / 2; int y = editor.offsetToXY(position.getOffset()).y + editor.getLineHeight() / 2; DebuggerUIUtil.showXBreakpointEditorBalloon(project, new Point(x, y), editor.getContentComponent(), false, bp); } }); }