Class Breakpoint

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.Breakpoint

public class Breakpoint extends JSONBase
Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.
  • Method Details

    • getId

      public Integer getId()
      An optional identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints.
    • setId

      public Breakpoint setId(Integer id)
    • isVerified

      public boolean isVerified()
      If true breakpoint could be set (but not necessarily at the desired location).
    • setVerified

      public Breakpoint setVerified(boolean verified)
    • getMessage

      public String getMessage()
      An optional message about the state of the breakpoint. This is shown to the user and can be used to explain why a breakpoint could not be verified.
    • setMessage

      public Breakpoint setMessage(String message)
    • getSource

      public Source getSource()
      The source where the breakpoint is located.
    • setSource

      public Breakpoint setSource(Source source)
    • getLine

      public Integer getLine()
      The start line of the actual range covered by the breakpoint.
    • setLine

      public Breakpoint setLine(Integer line)
    • getColumn

      public Integer getColumn()
      An optional start column of the actual range covered by the breakpoint.
    • setColumn

      public Breakpoint setColumn(Integer column)
    • getEndLine

      public Integer getEndLine()
      An optional end line of the actual range covered by the breakpoint.
    • setEndLine

      public Breakpoint setEndLine(Integer endLine)
    • getEndColumn

      public Integer getEndColumn()
      An optional end column of the actual range covered by the breakpoint. If no end line is given, then the end column is assumed to be in the start line.
    • setEndColumn

      public Breakpoint setEndColumn(Integer endColumn)
    • equals

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

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

      public static Breakpoint create(Boolean verified)