void (@NotNull XSourcePosition position, final boolean ignoreBreakpoints) { try { DebugProcessImpl.ResumeCommand runToCursorCommand = myDebugProcess.createRunToCursorCommand(getSuspendContext(), position, ignoreBreakpoints); setSteppingThrough(runToCursorCommand.getContextThread()); resumeAction(runToCursorCommand, Event.STEP); } catch (EvaluateException e) { Messages.showErrorDialog(e.getMessage(), UIUtil.removeMnemonic(ActionsBundle.actionText(XDebuggerActions.RUN_TO_CURSOR))); } }