set_variable
Modify a variable's value in the current scope while debugging a stopped .NET application. Requires variable reference from get_variables.
Instructions
Set a variable's value during debugging.
State: STOPPED required.
Modifies a variable in the current scope. The program must be stopped. Use get_variables first to find the variables_reference for the scope.
Args: variables_reference: Reference from get_scopes or get_variables name: Variable name to modify value: New value as a string expression
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables_reference | Yes | ||
| name | Yes | ||
| value | Yes |