pl.wendigo.chrome.domain.debugger / EvaluateOnCallFrameRequest

EvaluateOnCallFrameRequest

data class EvaluateOnCallFrameRequest (source)

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

Evaluates expression on a given call frame.

Constructors

<init>

EvaluateOnCallFrameRequest(callFrameId: CallFrameId, expression: String, objectGroup: String? = null, includeCommandLineAPI: Boolean? = null, silent: Boolean? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null)

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

Properties

callFrameId

val callFrameId: CallFrameId

Call frame identifier to evaluate on.

expression

val expression: String

Expression to evaluate.

generatePreview

val generatePreview: Boolean?

Whether preview should be generated for the result.

includeCommandLineAPI

val includeCommandLineAPI: Boolean?

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

objectGroup

val objectGroup: String?

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

returnByValue

val returnByValue: Boolean?

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

silent

val silent: Boolean?

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