DebuggerClientEvaluateOnCallFrameAsync Method |
Version 130.1.90
Evaluates expression on a given call frame.
Namespace: CefSharp.DevTools.DebuggerAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.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 String
- Call frame identifier to evaluate on.
- expression String
- Expression to evaluate.
- objectGroup String (Optional)
- String object group name to put result into (allows rapid releasing resulting object handlesusing `releaseObjectGroup`).
- includeCommandLineAPI NullableBoolean (Optional)
- Specifies whether command line API should be available to the evaluated expression, defaultsto false.
- silent NullableBoolean (Optional)
- In silent mode exceptions thrown during evaluation are not reported and do not pauseexecution. Overrides `setPauseOnException` state.
- returnByValue NullableBoolean (Optional)
- Whether the result is expected to be a JSON object that should be sent by value.
- generatePreview NullableBoolean (Optional)
- Whether preview should be generated for the result.
- throwOnSideEffect NullableBoolean (Optional)
- Whether to throw an exception if side effect cannot be ruled out during evaluation.
- timeout NullableDouble (Optional)
- Terminate execution after timing out (number of milliseconds).
Return Value
TaskEvaluateOnCallFrameResponsereturns System.Threading.Tasks.Task<EvaluateOnCallFrameResponse>
See Also