trace_execution
Record an execution trace from the current debugger position, stepping through instructions and capturing address and disassembly at each step. Control tracing depth with max instructions, step into/over calls, and stop at specified breakpoints.
Instructions
Record an execution trace from the current position. Steps through instructions and records address + disassembly at each step. Stops after maxInstructions or a breakpoint.
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": {
"sessionId": "<sessionId>"
},
"name": "trace_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| maxInstructions | No | Maximum instructions to trace (default 500) | |
| traceInto | No | true = step into calls, false = step over calls | |
| recordRegisters | No | Record full register state at each step (slower) | |
| breakOnCall | No | Stop tracing when this function/address is called |