rr_watchpoint
Set a watchpoint on a value to stop on writes, reads, or access, then continue or reverse through an rr trace to pinpoint the instruction that changes it.
Instructions
Watch a value and stop when it is written, read, or accessed.
A write watchpoint is useful after observing a corrupted variable: set it while the value is still correct, then continue or reverse through the trace to identify the instruction that changes it. Hardware watchpoint limits vary.
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>",
"expression": "<expression>"
},
"name": "rr_watchpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access | No | write | |
| expression | Yes | ||
| session_id | Yes |