rr_evaluate
Evaluates one C/C++ expression in the current frame during rr debugging, returning its value without running a GDB console command.
Instructions
Evaluate one C/C++ expression in the current frame; does not run a GDB console command.
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_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| session_id | Yes |