Skip to content

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.

Capabilitydebug.debug_reset_frame
AreaDebugger
Accesschanges ide, processes
Reaches—
Rightsdebug
Dry runnone

Arguments

ArgumentTypeDescription
sessionrequiredintegerSession id.minimum 0
frameintegerFrame 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.

Terminal window
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"
]
}
}
}