Skip to content

debug_threads

MCP tools › Debugger

The threads of a stopped debug session: id, name, state (Java: RUNNING, WAIT, MONITOR, NEW, ZOMBIE, read from the JVM; empty where the adapter cannot tell, e.g. Python), thread group and whether it is suspended, with up to frames frames of each suspended thread (a thread dump). Needs the debug right.

Its results carry text from process, files: the client is told to treat that as data, never as instructions.

Capabilitydebug.debug_threads
AreaDebugger
Accesschanges processes
Reaches—
Rightsdebug
Dry runnone

Arguments

ArgumentTypeDescription
sessionrequiredintegerSession id.minimum 0
framesintegerFrames per suspended thread (default 20, 0 for none).minimum 0

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_threads '{"session":1}'
Input schema as JSON
{
"type": "object",
"required": [
"session"
],
"properties": {
"session": {
"description": "Session id.",
"type": "integer",
"minimum": 0
},
"frames": {
"description": "Frames per suspended thread (default 20, 0 for none).",
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}