debug.set_breakpoint
Set a breakpoint at a specified class and line to halt execution, with an optional condition that auto-resumes if false. Enables targeted inspection of Java application state during debugging.
Instructions
Set breakpoint at class:line, optionally conditional
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"class_pattern": "<class_pattern>",
"line": "<line>"
},
"name": "debug.set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_pattern | Yes | e.g. com.example.MyClass | |
| condition | No | e.g. count==5 — auto-resumes if false | |
| line | Yes | ||
| method | No | optional, disambiguates |