evaluate
Evaluate JavaScript expressions in the paused call frame to inspect objects, call methods, compute derived values, or verify runtime conditions.
Instructions
[STEP 6b] Evaluate any JavaScript expression in the context of the currently paused call frame. Use this to inspect nested objects, call methods, compute derived values, or verify conditions at runtime. Complements getScopeVariables for values not directly visible in scope (e.g. this.state, JSON.stringify(obj)).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | JavaScript expression to evaluate | |
| frameIndex | No | Call frame index (default 0) |