EvaluateOnCallFrameRequest

data class EvaluateOnCallFrameRequest(callFrameId: CallFrameId, expression: String, objectGroup: String?, includeCommandLineAPI: Boolean?, silent: Boolean?, returnByValue: Boolean?, generatePreview: Boolean?, throwOnSideEffect: Boolean?, timeout: TimeDelta?)

Represents request frame that can be used with Debugger#evaluateOnCallFrame operation call.

Evaluates expression on a given call frame.

See also

Constructors

EvaluateOnCallFrameRequest
Link copied to clipboard
fun EvaluateOnCallFrameRequest(callFrameId: CallFrameId, expression: String, objectGroup: String? = null, includeCommandLineAPI: Boolean? = null, silent: Boolean? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null, throwOnSideEffect: Boolean? = null, timeout: TimeDelta? = null)

Properties

callFrameId
Link copied to clipboard
val callFrameId: CallFrameId
Call frame identifier to evaluate on.
expression
Link copied to clipboard
val expression: String
Expression to evaluate.
generatePreview
Link copied to clipboard
val generatePreview: Boolean? = null
Whether preview should be generated for the result.
includeCommandLineAPI
Link copied to clipboard
val includeCommandLineAPI: Boolean? = null
Specifies whether command line API should be available to the evaluated expression, defaults to false.
objectGroup
Link copied to clipboard
val objectGroup: String? = null
String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup).
returnByValue
Link copied to clipboard
val returnByValue: Boolean? = null
Whether the result is expected to be a JSON object that should be sent by value.
silent
Link copied to clipboard
val silent: Boolean? = null
In silent mode exceptions thrown during evaluation are not reported and do not pause execution.
throwOnSideEffect
Link copied to clipboard
val throwOnSideEffect: Boolean? = null
Whether to throw an exception if side effect cannot be ruled out during evaluation.
timeout
Link copied to clipboard
val timeout: TimeDelta? = null
Terminate execution after timing out (number of milliseconds).

Sources

jvm source
Link copied to clipboard