public class TruffleDebugContextImpl extends Object implements TruffleDebugContext
TruffleDebugContext in terms of DebugContext.| Modifier and Type | Field and Description |
|---|---|
DebugContext |
debugContext |
| Constructor and Description |
|---|
TruffleDebugContextImpl(DebugContext debugContext) |
| Modifier and Type | Method and Description |
|---|---|
<G,N,M> GraphOutput<G,M> |
buildOutput(GraphOutput.Builder<G,N,M> builder)
Opens a channel for dumping the graph based structure represented by
builder. |
void |
close()
Closes this debug context.
|
void |
closeDebugChannels()
Closes any debugging output channels open in this scope.
|
Map<Object,Object> |
getVersionProperties()
Gets a map from components in the current runtime to the id of the source code control commit
from which they were built.
|
boolean |
isDumpEnabled()
Determines if dumping is enabled in the current scope.
|
AutoCloseable |
scope(String name)
Opens a named scope.
|
AutoCloseable |
scope(String name,
Object context)
Opens a named scope.
|
public final DebugContext debugContext
public TruffleDebugContextImpl(DebugContext debugContext)
public <G,N,M> GraphOutput<G,M> buildOutput(GraphOutput.Builder<G,N,M> builder) throws IOException
TruffleDebugContextbuilder.buildOutput in interface TruffleDebugContextIOExceptionpublic boolean isDumpEnabled()
TruffleDebugContextisDumpEnabled in interface TruffleDebugContextpublic Map<Object,Object> getVersionProperties()
TruffleDebugContext
{version.substratevm=f5875dc5cd664df832f3ef6546fe3ab3610152a9,
version.tools=f5875dc5cd664df832f3ef6546fe3ab3610152a9,
version.truffle=f5875dc5cd664df832f3ef6546fe3ab3610152a9,
version.compiler=f5875dc5cd664df832f3ef6546fe3ab3610152a9,
version.sulong=d453fd9d5e17a5fd1739cc4c77f7995852ace14f,
version.sdk=f5875dc5cd664df832f3ef6546fe3ab3610152a9,
version.vm=f5875dc5cd664df832f3ef6546fe3ab3610152a9,
version.graal-js=c32bfc97c8435f285055e289d193e3b06e6b40e5,
version.regex=f5875dc5cd664df832f3ef6546fe3ab3610152a9,
version.graal-nodejs=c32bfc97c8435f285055e289d193e3b06e6b40e5}
getVersionProperties in interface TruffleDebugContextpublic AutoCloseable scope(String name)
TruffleDebugContextscope in interface TruffleDebugContextpublic AutoCloseable scope(String name, Object context)
TruffleDebugContextscope in interface TruffleDebugContextcontext - some context to be associated with the scopepublic void close()
TruffleDebugContextclose in interface AutoCloseableclose in interface TruffleDebugContextpublic void closeDebugChannels()
TruffleDebugContextcloseDebugChannels in interface TruffleDebugContext