public void runToCursor(@NotNull XSourcePosition position, final boolean ignoreBreakpoints) {
    try {
      SuspendContextImpl suspendContext = getSuspendContext();
      DebugProcessImpl.ResumeCommand runToCursorCommand =
        DebuggerUtilsImpl.computeSafeIfAny(JvmSteppingCommandProvider.EP_NAME,
                                           handler -> handler.getRunToCursorCommand(suspendContext, position, ignoreBreakpoints));
      if (runToCursorCommand == null) {
        runToCursorCommand = myDebugProcess.createRunToCursorCommand(suspendContext, position, ignoreBreakpoints);
      }

      setSteppingThrough(runToCursorCommand.getContextThread());
      resumeAction(runToCursorCommand, Event.STEP);
    }
    catch (EvaluateException e) {
      Messages.showErrorDialog(e.getMessage(), UIUtil.removeMnemonic(ActionsBundle.actionText(XDebuggerActions.RUN_TO_CURSOR)));
    }
  }
public void runToCursor(@NotNull XSourcePosition position, final boolean ignoreBreakpoints)