dbg_set_breakpoint
Set breakpoints in C/C++ programs by file:line or function name, with optional conditions, hit counts, and log messages for targeted debugging.
Instructions
Set a breakpoint at file:line OR on a function. Optional condition / hit count / logpoint.
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>"
},
"name": "dbg_set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| file | No | ||
| line | No | ||
| function | No | ||
| condition | No | ||
| hit_condition | No | ||
| log_message | No |