DebuggerClientEvaluateOnCallFrameAsync Method |
Version 105.3.390
Evaluates expression on a given call frame.
Namespace:
CefSharp.DevTools.Debugger
Assembly:
CefSharp (in CefSharp.dll) Version: 105.3.390.0 (105.3.390.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
)
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<double> 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: SystemNullableDouble
Terminate execution after timing out (number of milliseconds).
Return Value
Type:
TaskEvaluateOnCallFrameResponsereturns System.Threading.Tasks.Task<EvaluateOnCallFrameResponse>
See Also