pl.wendigo.chrome.api.debugger / EvaluateOnCallFrameRequest

EvaluateOnCallFrameRequest

data class EvaluateOnCallFrameRequest (source)

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

Evaluates expression on a given call frame.

Link
Debugger#evaluateOnCallFrame method documentation.

See Also

DebuggerOperations.evaluateOnCallFrame

Constructors

<init>

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)

Represents request frame that can be used with Debugger#evaluateOnCallFrame operation 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.

throwOnSideEffect

val throwOnSideEffect: Boolean?

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

timeout

val timeout: TimeDelta?

Terminate execution after timing out (number of milliseconds).