RunToCursorBreakpoint (@NotNull Project project, @NotNull XSourcePosition position, boolean restoreBreakpoints) { PsiFile psiFile = PsiManager.getInstance(project).findFile(position.getFile()); if (psiFile == null) { return null; } return new RunToCursorBreakpoint(project, SourcePosition.createFromOffset(psiFile, position.getOffset()), restoreBreakpoints); }