Class StoppedEvent.EventBody

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.StoppedEvent.EventBody
Enclosing class:
StoppedEvent

public static class StoppedEvent.EventBody extends JSONBase
  • Method Details

    • getReason

      public String getReason()
      The reason for the event. For backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated). Values: 'step', 'breakpoint', 'exception', 'pause', 'entry', 'goto', 'function breakpoint', 'data breakpoint', etc.
    • setReason

      public StoppedEvent.EventBody setReason(String reason)
    • getDescription

      public String getDescription()
      The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is and must be translated.
    • setDescription

      public StoppedEvent.EventBody setDescription(String description)
    • getThreadId

      public Integer getThreadId()
      The thread which was stopped.
    • setThreadId

      public StoppedEvent.EventBody setThreadId(Integer threadId)
    • getPreserveFocusHint

      public Boolean getPreserveFocusHint()
      A value of true hints to the frontend that this event should not change the focus.
    • setPreserveFocusHint

      public StoppedEvent.EventBody setPreserveFocusHint(Boolean preserveFocusHint)
    • getText

      public String getText()
      Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI.
    • setText

      public StoppedEvent.EventBody setText(String text)
    • getAllThreadsStopped

      public Boolean getAllThreadsStopped()
      If 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped. - The client should use this information to enable that all threads can be expanded to access their stacktraces. - If the attribute is missing or false, only the thread with the given threadId can be expanded.
    • setAllThreadsStopped

      public StoppedEvent.EventBody setAllThreadsStopped(Boolean allThreadsStopped)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static StoppedEvent.EventBody create(String reason)