Class InspectorRuntime
java.lang.Object
com.oracle.truffle.tools.chromeinspector.domains.Domain
com.oracle.truffle.tools.chromeinspector.domains.RuntimeDomain
com.oracle.truffle.tools.chromeinspector.InspectorRuntime
-
Field Summary
Fields inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
eventHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallFunctionOn(String objectId, String functionDeclaration, org.graalvm.shadowed.org.json.JSONArray arguments, boolean silent, boolean returnByValue, boolean generatePreview, boolean awaitPromise, int executionContextId, String objectGroup) compileScript(String expression, String sourceURL, boolean persistScript, long executionContextId) voidvoiddoEnable()evaluate(String expression, String objectGroup, boolean includeCommandLineAPI, boolean silent, int contextId, boolean returnByValue, boolean generatePreview, boolean awaitPromise) getProperties(String objectId, boolean ownProperties, boolean accessorPropertiesOnly, boolean generatePreview) voidvoidnotifyConsoleAPICalled(String type, Object text) voidreleaseObject(String objectId) voidreleaseObjectGroup(String objectGroup) voidrunIfWaitingForDebugger(InspectServerSession.CommandPostProcessor postProcessor) voidsetCustomObjectFormatterEnabled(boolean enabled) Methods inherited from class com.oracle.truffle.tools.chromeinspector.domains.RuntimeDomain
executionContextCreated, executionContextDestroyedMethods inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
disable, enable, isEnabled, notifyDisabled, setEventHandler
-
Constructor Details
-
InspectorRuntime
-
-
Method Details
-
doEnable
-
notifyClosing
public void notifyClosing()- Overrides:
notifyClosingin classDomain
-
doDisable
-
compileScript
public Params compileScript(String expression, String sourceURL, boolean persistScript, long executionContextId) throws CommandProcessException - Specified by:
compileScriptin classRuntimeDomain- Throws:
CommandProcessException
-
evaluate
public Params evaluate(String expression, String objectGroup, boolean includeCommandLineAPI, boolean silent, int contextId, boolean returnByValue, boolean generatePreview, boolean awaitPromise) throws CommandProcessException - Specified by:
evaluatein classRuntimeDomain- Throws:
CommandProcessException
-
getProperties
public Params getProperties(String objectId, boolean ownProperties, boolean accessorPropertiesOnly, boolean generatePreview) throws CommandProcessException - Specified by:
getPropertiesin classRuntimeDomain- Throws:
CommandProcessException
-
callFunctionOn
public Params callFunctionOn(String objectId, String functionDeclaration, org.graalvm.shadowed.org.json.JSONArray arguments, boolean silent, boolean returnByValue, boolean generatePreview, boolean awaitPromise, int executionContextId, String objectGroup) throws CommandProcessException - Specified by:
callFunctionOnin classRuntimeDomain- Throws:
CommandProcessException
-
releaseObject
- Specified by:
releaseObjectin classRuntimeDomain
-
releaseObjectGroup
- Specified by:
releaseObjectGroupin classRuntimeDomain
-
runIfWaitingForDebugger
- Specified by:
runIfWaitingForDebuggerin classRuntimeDomain
-
notifyConsoleAPICalled
- Specified by:
notifyConsoleAPICalledin classRuntimeDomain
-
setCustomObjectFormatterEnabled
public void setCustomObjectFormatterEnabled(boolean enabled) - Specified by:
setCustomObjectFormatterEnabledin classRuntimeDomain
-