amiga_trace
Set tracepoints in a running Amiga program to capture D0–A7, SR and stack top when execution reaches an address, then let it continue. List or clear up to 8 tracepoints.
Instructions
Tracepoints in a running program: where it gets to, and its registers then.
action set: put one at address (in a running program's code, e.g. from amiga_loaded or 'myprog hunk 0 +$120' resolved with amiga_where); when the program passes there, amigentd keeps D0-A7, SR and the top of the stack, puts the instruction back and the program runs on without stopping. Fires once. action list shows them with what they caught; clear removes all. At most 8. Meant for programs you are testing. Needs amigentd 1.4.0.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amiga_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list | |
| address | No | ||
| machine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |