CaptureStopContextStructured
Capture registers, memory, stack, call stack, and nearby disassembly in one structured payload at a debug stop, giving models full context after a breakpoint hit.
Instructions
Capture a rich, structured snapshot of the current stop — registers, selected memory/stack slots, the call stack, and disassembly around the instruction pointer — in one payload. Ideal right after a breakpoint hit so the model gets full context in a single round-trip.
Args: registers_json: Optional JSON array of register names to include (empty = the standard set). expressions_json: Optional JSON array of x64dbg expressions to evaluate. ranges_json: Optional JSON array of {label, expr, size, format} memory ranges to read. stack_slots_json: Optional JSON array describing stack slots to decode. disasm_before: Instructions to disassemble before the IP (default 2). disasm_after: Instructions to disassemble after the IP (default 4). callstack_limit: Maximum call-stack frames to include (default 12).
Returns: {"ok": bool, "registers": ..., "memory": ..., "callStack": ..., "disasm": ...} structured context, or an error envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ranges_json | No | ||
| disasm_after | No | ||
| disasm_before | No | ||
| registers_json | No | ||
| callstack_limit | No | ||
| expressions_json | No | ||
| stack_slots_json | No |