debug_reset_frame
MCP tools › Debugger
Reset Frame: run a frame of a stopped debug session again from its start (default the top frame) and return where it stopped, like debug_resume. Refused when the debug adapter cannot reset frames (debugpy, lldb-dap). Needs the debug right.
| Capability | debug.debug_reset_frame |
|---|---|
| Area | Debugger |
| Access | changes ide, processes |
| Reaches | — |
| Rights | debug |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
sessionrequired | integer | Session id.minimum 0 |
frame | integer | Frame id (default the top frame of the thread that stopped last). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project debug_reset_frame '{"session":1}'Input schema as JSON
{ "type": "object", "required": [ "session" ], "properties": { "session": { "description": "Session id.", "type": "integer", "minimum": 0 }, "frame": { "description": "Frame id (default the top frame of the thread that stopped last).", "type": [ "integer", "null" ] } }}