Click or drag to resize

DebuggerClientEvaluateOnCallFrameAsync Method

Version 101.0.180
Evaluates expression on a given call frame.

Namespace:  CefSharp.DevTools.Debugger
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public Task<EvaluateOnCallFrameResponse> EvaluateOnCallFrameAsync(
	string callFrameId,
	string expression,
	string objectGroup = null,
	bool? includeCommandLineAPI = null,
	bool? silent = null,
	bool? returnByValue = null,
	bool? generatePreview = null,
	bool? throwOnSideEffect = null,
	double? timeout = null
)

Parameters

callFrameId
Type: SystemString
Call frame identifier to evaluate on.
expression
Type: SystemString
Expression to evaluate.
objectGroup (Optional)
Type: SystemString
String object group name to put result into (allows rapid releasing resulting object handlesusing `releaseObjectGroup`).
includeCommandLineAPI (Optional)
Type: SystemNullableBoolean
Specifies whether command line API should be available to the evaluated expression, defaultsto false.
silent (Optional)
Type: SystemNullableBoolean
In silent mode exceptions thrown during evaluation are not reported and do not pauseexecution. Overrides `setPauseOnException` state.
returnByValue (Optional)
Type: SystemNullableBoolean
Whether the result is expected to be a JSON object that should be sent by value.
generatePreview (Optional)
Type: SystemNullableBoolean
Whether preview should be generated for the result.
throwOnSideEffect (Optional)
Type: SystemNullableBoolean
Whether to throw an exception if side effect cannot be ruled out during evaluation.
timeout (Optional)
Type: SystemNullableDouble
Terminate execution after timing out (number of milliseconds).

Return Value

Type: TaskEvaluateOnCallFrameResponse
returns System.Threading.Tasks.Task<EvaluateOnCallFrameResponse>
See Also