Enum Class StoppedEvent.StoppedReason

java.lang.Object
java.lang.Enum<StoppedEvent.StoppedReason>
io.quarkus.qute.debug.StoppedEvent.StoppedReason
All Implemented Interfaces:
Serializable, Comparable<StoppedEvent.StoppedReason>, Constable
Enclosing class:
StoppedEvent

public static enum StoppedEvent.StoppedReason extends Enum<StoppedEvent.StoppedReason>
Represents the possible reasons why the debuggee execution stopped.

Each reason corresponds to a standard value defined by the Debug Adapter Protocol (DAP).

  • Enum Constant Details

    • STEP

      public static final StoppedEvent.StoppedReason STEP
      The execution stopped because a step operation (e.g., step over, step into) was completed.
    • BREAKPOINT

      public static final StoppedEvent.StoppedReason BREAKPOINT
      The execution stopped because a breakpoint was hit.
    • EXCEPTION

      public static final StoppedEvent.StoppedReason EXCEPTION
      The execution stopped due to an exception being thrown.
    • PAUSE

      public static final StoppedEvent.StoppedReason PAUSE
      The execution stopped because the user explicitly paused the debuggee.
  • Method Details

    • values

      public static StoppedEvent.StoppedReason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StoppedEvent.StoppedReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getReason

      public String getReason()
      Returns the string representation of this stop reason as expected by the DAP.
      Returns:
      the DAP-compatible reason string