DebuggerClientEvaluateOnCallFrameAsync Method |
Version 87.1.132
Evaluates expression on a given call frame.
Namespace:
CefSharp.DevTools.Debugger
Assembly:
CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax public Task<EvaluateOnCallFrameResponse> EvaluateOnCallFrameAsync(
string callFrameId,
string expression,
string objectGroup = null,
Nullable<bool> includeCommandLineAPI = null,
Nullable<bool> silent = null,
Nullable<bool> returnByValue = null,
Nullable<bool> generatePreview = null,
Nullable<bool> throwOnSideEffect = null,
Nullable<long> timeout = null
)
public:
Task<EvaluateOnCallFrameResponse^>^ EvaluateOnCallFrameAsync(
String^ callFrameId,
String^ expression,
String^ objectGroup = nullptr,
Nullable<bool> includeCommandLineAPI = nullptr,
Nullable<bool> silent = nullptr,
Nullable<bool> returnByValue = nullptr,
Nullable<bool> generatePreview = nullptr,
Nullable<bool> throwOnSideEffect = nullptr,
Nullable<long long> timeout = nullptr
)
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: SystemNullableInt64
Terminate execution after timing out (number of milliseconds).
Return Value
Type:
TaskEvaluateOnCallFrameResponsereturns System.Threading.Tasks.Task<EvaluateOnCallFrameResponse>
See Also