gdb_set_breakpoint
Set breakpoints during GDB debugging sessions by specifying a session ID and location, enabling precise control over code execution for debugging workflows.
Instructions
Set a breakpoint
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": "gdb_set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | No | Breakpoint condition (optional) | |
| location | Yes | Breakpoint location (e.g., function name, file:line) | |
| sessionId | Yes | GDB session ID |