/** * Prepare to execute in <strong>step into</strong> mode when guest language program execution * resumes. See the description of {@link #prepareStepInto(StepConfig)} for details, calling * this is identical to * <code>{@link #prepareStepInto(StepConfig) prepareStepInto}.({@link StepConfig StepConfig}.{@link StepConfig#newBuilder() newBuilder}().{@link StepConfig.Builder#count(int) count}(stepCount).{@link StepConfig.Builder#build() build}())</code> * . * * @param stepCount the number of times to perform StepInto before halting * @return this event instance for an easy concatenation of method calls * @throws IllegalArgumentException if {@code stepCount <= 0} * @throws IllegalStateException when {@link #prepareContinue() continue} or * {@link #prepareKill() kill} is prepared already. * @since 0.9 */ public SuspendedEvent prepareStepInto(int stepCount) { return prepareStepInto(StepConfig.newBuilder().count(stepCount).build()); }
/** * Prepare to execute in <strong>step into</strong> mode when guest language program execution * resumes. See the description of {@link #prepareStepInto(StepConfig)} for details, calling * this is identical to * <code>{@link #prepareStepInto(StepConfig) prepareStepInto}.({@link StepConfig StepConfig}.{@link StepConfig#newBuilder() newBuilder}().{@link StepConfig.Builder#count(int) count}(stepCount).{@link StepConfig.Builder#build() build}())</code> * . * * @param stepCount the number of times to perform StepInto before halting * @return this event instance for an easy concatenation of method calls * @throws IllegalArgumentException if {@code stepCount <= 0} * @throws IllegalStateException when {@link #prepareContinue() continue} or * {@link #prepareKill() kill} is prepared already. * @since 0.9 */ public SuspendedEvent prepareStepInto(int stepCount) { return prepareStepInto(StepConfig.newBuilder().count(stepCount).build()); }