Class DebuggerTags.AlwaysHalt
java.lang.Object
com.oracle.truffle.api.instrumentation.Tag
com.oracle.truffle.api.debug.DebuggerTags.AlwaysHalt
- Enclosing class:
DebuggerTags
Marks program locations where debugger should always halt like if on a breakpoint.
All created
TruffleLanguages that support concept similar to JavaScript's debugger
statement (program locations where execution should always halt) should make sure that
appropriate Nodes are tagged with the DebuggerTags.AlwaysHalt tag.
class DebuggerNode extends Node implements InstrumentableNode {
public boolean hasTag(Class<? extends Tag> tag) {
return tag == DebuggerTags.AlwaysHalt.class;
}
}
debugger sessions will suspend on these locations
unconditionally.- Since:
- 0.14
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.instrumentation.Tag
Tag.Identifier -
Method Summary
Methods inherited from class com.oracle.truffle.api.instrumentation.Tag
findProvidedTag, getIdentifier