set_breakpoint
Pause execution at a given address, symbol, or expression. Select breakpoint type (software, hardware, watch), with optional condition, thread, pending, or temporary settings.
Instructions
Set a breakpoint at an address/symbol/expression ('main', '*main+0x20', '0x401000'). Types: breakpoint (software), hw (hardware), watch, hw_watch.
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": {
"location": "<location>"
},
"name": "set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | breakpoint | |
| thread | No | ||
| pending | No | ||
| location | Yes | ||
| condition | No | ||
| temporary | No | ||
| session_id | No |