DebuggerClientSetVariableValueAsync Method |
Version 130.1.90
Changes value of variable in a callframe. Object-based scopes are not supported and must be
mutated manually.
Namespace: CefSharp.DevTools.DebuggerAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetVariableValueAsync(
int scopeNumber,
string variableName,
CallArgument newValue,
string callFrameId
)
public:
Task<DevToolsMethodResponse^>^ SetVariableValueAsync(
int scopeNumber,
String^ variableName,
CallArgument^ newValue,
String^ callFrameId
)
Parameters
- scopeNumber Int32
- 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch'scope types are allowed. Other scopes could be manipulated manually.
- variableName String
- Variable name.
- newValue CallArgument
- New variable value.
- callFrameId String
- Id of callframe that holds variable.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also