Class StepConfig
java.lang.Object
com.oracle.truffle.api.debug.StepConfig
Represents a debugger step configuration. A debugger step is defined by it's depth and a set of
additional properties. The step depth is specified by a usage of one of the appropriate prepare
methods on
SuspendedEvent
. The set of additional step properties is defined by this
class. These are a step count and a list of source elements
the step can
suspend at.
The rules of stepping through the source elements
are following:
SourceElement.STATEMENT
: steps suspendbefore
guest language statements, unless the step returns to a calling location, in which case they suspendafter
. Step depth is interpreted based on pushed stack frames.SourceElement.EXPRESSION
: steps suspendbefore
andafter
guest language expressions. Step depth is interpreted based on both pushed stack frames and expression nesting hierarchy.
- Since:
- 0.33
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StepConfig.Builder
Create a new step configuration builder.
-
Method Details
-
newBuilder
-