evaluate_expression
Evaluate an expression in the current debug context to read or modify program state, using an optional stack frame for context.
Instructions
Evaluate expression in the current debug context. Expressions can read and modify program state
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| expression | Yes | ||
| frameId | No | Optional stack frame ID for evaluation context. Must be a frame ID from a get_stack_trace response. If not provided, uses the current (top) frame automatically |