public final class RemoteObject extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteObject.IndexRange |
| Constructor and Description |
|---|
RemoteObject(com.oracle.truffle.api.debug.DebugScope scope) |
RemoteObject(com.oracle.truffle.api.debug.DebugScope scope,
String objectId) |
RemoteObject(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean readEagerly,
boolean generatePreview,
InspectorExecutionContext context) |
RemoteObject(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean readEagerly,
boolean generatePreview,
InspectorExecutionContext context,
RemoteObject.IndexRange indexRange) |
RemoteObject(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean generatePreview,
InspectorExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
static com.oracle.truffle.tools.utils.json.JSONObject |
createJSONResultValue(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean allowToStringSideEffects,
PrintWriter err)
Create a JSON object representing the provided
DebugValue. |
static RemoteObject |
createNullObject(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env,
com.oracle.truffle.api.nodes.LanguageInfo language) |
static RemoteObject |
createSimpleObject(String type,
String className,
String description) |
com.oracle.truffle.api.debug.DebugValue |
getDebugValue()
Get the value, or
null when there is a scope. |
String |
getId() |
RemoteObject.IndexRange |
getIndexRange() |
Object |
getRawValue()
Get the raw (primitive, String, or null) value.
|
com.oracle.truffle.api.debug.DebugScope |
getScope()
Get the frame, or
null when there is a value. |
boolean |
isReplicable()
Test whether the JSON value can be parsed back to the equal DebugValue (by
CallArgument). |
static void |
resetIDs()
For test purposes only.
|
com.oracle.truffle.tools.utils.json.JSONObject |
toJSON() |
public RemoteObject(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean generatePreview,
InspectorExecutionContext context)
public RemoteObject(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean readEagerly,
boolean generatePreview,
InspectorExecutionContext context)
public RemoteObject(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean readEagerly,
boolean generatePreview,
InspectorExecutionContext context,
RemoteObject.IndexRange indexRange)
public RemoteObject(com.oracle.truffle.api.debug.DebugScope scope)
public RemoteObject(com.oracle.truffle.api.debug.DebugScope scope,
String objectId)
public static RemoteObject createSimpleObject(String type, String className, String description)
public static RemoteObject createNullObject(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env, com.oracle.truffle.api.nodes.LanguageInfo language)
public static com.oracle.truffle.tools.utils.json.JSONObject createJSONResultValue(com.oracle.truffle.api.debug.DebugValue debugValue,
boolean allowToStringSideEffects,
PrintWriter err)
DebugValue. Use when a reply by value
is requested.public String getId()
public com.oracle.truffle.tools.utils.json.JSONObject toJSON()
public boolean isReplicable()
CallArgument).public com.oracle.truffle.api.debug.DebugValue getDebugValue()
null when there is a scope.public Object getRawValue()
public com.oracle.truffle.api.debug.DebugScope getScope()
null when there is a value.public RemoteObject.IndexRange getIndexRange()
public static void resetIDs()