EvaluateOnCallFrameRequest

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

Request object containing input parameters for the DebuggerDomain.evaluateOnCallFrame command.

Constructors

Link copied to clipboard
constructor(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)

Types

Link copied to clipboard
class Builder(val callFrameId: CallFrameId, val expression: String)

A builder for EvaluateOnCallFrameRequest, which allows setting the optional parameters of the DebuggerDomain.evaluateOnCallFrame command via a lambda.

Properties

Link copied to clipboard

Call frame identifier to evaluate on.

Link copied to clipboard

Expression to evaluate.

Link copied to clipboard

Whether preview should be generated for the result.

Link copied to clipboard

Specifies whether command line API should be available to the evaluated expression, defaults to false.

Link copied to clipboard
val objectGroup: String? = null

String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup).

Link copied to clipboard
val returnByValue: Boolean? = null

Whether the result is expected to be a JSON object that should be sent by value.

Link copied to clipboard
val silent: Boolean? = null

In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.

Link copied to clipboard

Whether to throw an exception if side effect cannot be ruled out during evaluation.

Link copied to clipboard
val timeout: TimeDelta? = null

Terminate execution after timing out (number of milliseconds).