evaluate
Evaluate a C# expression within a stack frame to inspect variables and compound values during debugging.
Instructions
Evaluate a C# expression in the context of a stack frame. Returns the result as a string plus a variablesReference if the result is a compound value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Expression to evaluate (e.g. "user.Id", "items.Count"). | |
| frameId | No | Frame id from stacktrace_get. Defaults to the global (no-frame) context. |