debug_evaluate
Evaluate a GDScript expression in a paused frame to inspect state at breakpoints without modifying code.
Instructions
Evaluate a GDScript expression in the context of a paused frame. Returns: the resulting value and its type. Use to check state at a breakpoint without adding print() calls and re-running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_id | No | Frame id from debug_stack_trace | |
| expression | Yes | GDScript expression |