pl.wendigo.chrome.api.debugger / SetVariableValueRequest

SetVariableValueRequest

data class SetVariableValueRequest (source)

Represents request frame that can be used with Debugger#setVariableValue operation call.

Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.

Link
Debugger#setVariableValue method documentation.

See Also

DebuggerOperations.setVariableValue

Constructors

<init>

SetVariableValueRequest(scopeNumber: Int, variableName: String, newValue: CallArgument, callFrameId: CallFrameId)

Represents request frame that can be used with Debugger#setVariableValue operation call.

Properties

callFrameId

val callFrameId: CallFrameId

Id of callframe that holds variable.

newValue

val newValue: CallArgument

New variable value.

scopeNumber

val scopeNumber: Int

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

val variableName: String

Variable name.