Class InspectorExecutionContext
java.lang.Object
com.oracle.truffle.tools.chromeinspector.InspectorExecutionContext
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInspectorExecutionContext(String name, boolean inspectInternal, boolean inspectInitialization, com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env, List<URI> sourceRoots, PrintWriter err) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleancanRun()createAndRegister(com.oracle.truffle.api.debug.DebugValue value, boolean generatePreview) voidcom.oracle.truffle.api.instrumentation.TruffleInstrument.EnvgetEnv()getErr()longgetId()booleanbooleanbooleanbooleanvoidlogException(String prefix, Throwable ex) voidvoidlogMessage(String prefix, Object message) voidvoidvoidreset()static voidresetIDs()For test purposes only.voidsetSynchronous(boolean synchronousExecution) void
-
Field Details
-
VALUE_NOT_READABLE
- See Also:
-
-
Constructor Details
-
InspectorExecutionContext
public InspectorExecutionContext(String name, boolean inspectInternal, boolean inspectInitialization, com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env, List<URI> sourceRoots, PrintWriter err)
-
-
Method Details
-
isInspectInternal
public boolean isInspectInternal() -
isInspectInitialization
public boolean isInspectInitialization() -
areToStringSideEffectsAllowed
public boolean areToStringSideEffectsAllowed() -
getEnv
public com.oracle.truffle.api.instrumentation.TruffleInstrument.Env getEnv() -
getId
public long getId() -
getErr
-
logMessage
-
logException
-
logException
-
doRunIfWaitingForDebugger
public void doRunIfWaitingForDebugger() -
canRun
public boolean canRun() -
acquireScriptsHandler
-
releaseScriptsHandler
public void releaseScriptsHandler() -
addListener
-
removeListener
-
waitForRunPermission
- Throws:
InterruptedException
-
getRemoteObjectsHandler
-
createAndRegister
public RemoteObject createAndRegister(com.oracle.truffle.api.debug.DebugValue value, boolean generatePreview) -
resetIDs
public static void resetIDs()For test purposes only. Do not call from production code. -
reset
public void reset() -
setSynchronous
public void setSynchronous(boolean synchronousExecution) -
isSynchronous
public boolean isSynchronous() -
isCustomObjectFormatterEnabled
public boolean isCustomObjectFormatterEnabled()
-