Enum StepMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      RUN
      Run freely; only a breakpoint or an explicit pause request stops execution.
      RUN_TO_CURSOR
      Run until the current method reaches a caller-supplied offset; both the offset and the method signature must match before pausing.
      STEP_INTO
      Pause after every instruction, including the first instruction of any method that gets called.
      STEP_OUT
      Run until the call stack becomes shallower than it was when the step began, that is, until the current frame returns.
      STEP_OVER
      Execute one instruction of the current frame, running any call it makes to completion rather than pausing inside the callee.
    • Enum Constant Detail

      • RUN

        public static final StepMode RUN
        Run freely; only a breakpoint or an explicit pause request stops execution.
      • STEP_INTO

        public static final StepMode STEP_INTO
        Pause after every instruction, including the first instruction of any method that gets called.
      • STEP_OVER

        public static final StepMode STEP_OVER
        Execute one instruction of the current frame, running any call it makes to completion rather than pausing inside the callee.
      • STEP_OUT

        public static final StepMode STEP_OUT
        Run until the call stack becomes shallower than it was when the step began, that is, until the current frame returns.
      • RUN_TO_CURSOR

        public static final StepMode RUN_TO_CURSOR
        Run until the current method reaches a caller-supplied offset; both the offset and the method signature must match before pausing.
    • Method Detail

      • values

        public static StepMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StepMode c : StepMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StepMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null