debug_set_breakpoints
Set breakpoints in a source file to pause debugger execution at specified lines, with optional conditions. Replaces existing breakpoints for the file, allowing precise control during debugging.
Instructions
Set breakpoints in a source file. Replaces all existing breakpoints in that file.
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": {
"session_id": "<session_id>",
"file": "<file>",
"breakpoints": "<breakpoints>"
},
"name": "debug_set_breakpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to source file | |
| session_id | Yes | Debug session ID | |
| breakpoints | Yes | List of breakpoints: [{line: int, condition?: str}] |