Class SourceBreakpoint
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.SourceBreakpoint
Properties of a breakpoint or logpoint passed to the setBreakpoints request.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceBreakpointbooleanAn optional source column of the breakpoint.An optional expression for conditional breakpoints.An optional expression that controls how many hits of the breakpoint are ignored.intgetLine()The source line of the breakpoint or logpoint.If this attribute exists and is non-empty, the backend must not 'break' (stop) but log the message instead.inthashCode()setCondition(String condition) setHitCondition(String hitCondition) setLine(int line) setLogMessage(String logMessage)
-
Method Details
-
getLine
public int getLine()The source line of the breakpoint or logpoint. -
setLine
-
getColumn
An optional source column of the breakpoint. -
setColumn
-
getCondition
An optional expression for conditional breakpoints. It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true. -
setCondition
-
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
-
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
-
equals
-
hashCode
public int hashCode() -
create
-