quick_evaluate
Evaluate an expression while the program is running by automatically pausing, evaluating, and resuming. Avoid manual pause-eval-continue steps.
Instructions
Evaluate an expression while the program is running (atomic pause-eval-resume).
Pauses execution for ~5ms, evaluates the expression, then resumes. Use this instead of manually pausing, evaluating, and continuing.
IMPORTANT: Only works when program is RUNNING. If stopped, use evaluate_expression instead.
Args: expression: Expression to evaluate (e.g., "myVariable", "list.Count") frame_id: Optional stack frame ID for evaluation context
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
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": {
"expression": "<expression>"
},
"name": "quick_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_id | No | ||
| expression | Yes |