Class SourceBreakpoint

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

public class SourceBreakpoint extends JSONBase
Properties of a breakpoint or logpoint passed to the setBreakpoints request.
  • Method Details

    • getLine

      public int getLine()
      The source line of the breakpoint or logpoint.
    • setLine

      public SourceBreakpoint setLine(int line)
    • getColumn

      public Integer getColumn()
      An optional source column of the breakpoint.
    • setColumn

      public SourceBreakpoint setColumn(Integer column)
    • getCondition

      public String getCondition()
      An optional expression for conditional breakpoints. It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true.
    • setCondition

      public SourceBreakpoint setCondition(String condition)
    • getHitCondition

      public String getHitCondition()
      An optional expression that controls how many hits of the breakpoint are ignored. The backend is expected to interpret the expression as needed. The attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true.
    • setHitCondition

      public SourceBreakpoint setHitCondition(String hitCondition)
    • getLogMessage

      public String getLogMessage()
      If this attribute exists and is non-empty, the backend must not 'break' (stop) but log the message instead. Expressions within {} are interpolated. The attribute is only honored by a debug adapter if the capability 'supportsLogPoints' is true.
    • setLogMessage

      public SourceBreakpoint setLogMessage(String logMessage)
    • equals

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

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

      public static SourceBreakpoint create(Integer line)