DebuggerClientSetVariableValueAsync Method |
Version 92.0.260
Changes value of variable in a callframe. Object-based scopes are not supported and must be
mutated manually.
Namespace:
CefSharp.DevTools.Debugger
Assembly:
CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.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
- Type: SystemInt32
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
- Type: SystemString
Variable name. - newValue
- Type: CefSharp.DevTools.RuntimeCallArgument
New variable value. - callFrameId
- Type: SystemString
Id of callframe that holds variable.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also