evaluateOnCallFrame

Evaluates expression on a given call frame.


suspend fun evaluateOnCallFrame(callFrameId: String, expression: String, objectGroup: String? = null, includeCommandLineAPI: Boolean? = null, silent: Boolean? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null, throwOnSideEffect: Boolean? = null, timeout: Double? = null): Debugger.EvaluateOnCallFrameReturn

Evaluates expression on a given call frame.

Parameters

callFrameId

Call frame identifier to evaluate on.

expression

Expression to evaluate.

objectGroup

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

includeCommandLineAPI

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

silent

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

returnByValue

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

generatePreview

Whether preview should be generated for the result.

throwOnSideEffect

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

timeout

Terminate execution after timing out (number of milliseconds).