chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.debugger / EvaluateOnCallFrameRequest

EvaluateOnCallFrameRequest

data class EvaluateOnCallFrameRequest

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

Constructors

<init>

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

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

Call frame identifier to evaluate on.

val callFrameId: CallFrameId

expression

Expression to evaluate.

val expression: String

generatePreview

Whether preview should be generated for the result.

val generatePreview: Boolean?

includeCommandLineAPI

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

val includeCommandLineAPI: Boolean?

objectGroup

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

val objectGroup: String?

returnByValue

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

val returnByValue: Boolean?

silent

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

val silent: Boolean?

throwOnSideEffect

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

val throwOnSideEffect: Boolean?

timeout

Terminate execution after timing out (number of milliseconds).

val timeout: TimeDelta?