edb_set_breakpoint
Set breakpoints by function name, address, or file:line, with optional condition like 'x == 5' for targeted debugging.
Instructions
Set a breakpoint at a function, address, or source location. Supports conditional breakpoints.
Args: params (BreakpointInput): Breakpoint location - location (str): E.g., 'main', '*0x400528', 'foo.c:42' - condition (Optional[str]): E.g., 'x == 5' (default: none)
Returns: str: Breakpoint number and details
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": {
"params": "<params>"
},
"name": "edb_set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |