Set a breakpoint
breakpoint_setSet a breakpoint by file:line, symbol name, or address to halt execution at the desired code location, with optional condition or temporary flag.
Instructions
Sets a breakpoint by file:line (e.g. main.c:42), symbol name (e.g. main), or address (e.g. *0x08000200).
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": {
"sessionId": "<sessionId>",
"location": "<location>"
},
"name": "breakpoint_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | ||
| condition | No | Conditional expression, e.g. 'count == 5' | |
| sessionId | Yes | ||
| temporary | No | Deleted automatically after the first hit (default: false) |