edb_set_watchpoint
Set a watchpoint to monitor memory access, stopping execution on write, read, or both.
Instructions
Set a watchpoint to monitor memory access. Three modes:
'write': stops when value changes (default)
'read': stops when value is read
'access': stops on both read and write
Args: params (WatchpointInput): Watchpoint configuration - expression (str): E.g., 'x', '*0x7fff0000', 'my_global' - watch_type (str): 'write', 'read', or 'access' (default: 'write')
Returns: str: Watchpoint 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_watchpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |