trace_data_write
Configure data write trace on a variable to record every write access. Optionally filter by data value for targeted debugging.
Instructions
Configure data write trace on a variable.
Records every write access to the specified variable in the trace buffer. Optionally filters by data value.
Args: variable: Variable name or address (e.g., "flags[12]", "myVar", "0xD0000100") data_value: Optional filter — only trace writes matching this value (e.g., "0x33") data_width: Data width for value matching — "byte", "word", "long", "quad", "auto"
Returns: Confirmation of data write trace setup
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | Yes | ||
| data_value | No | ||
| data_width | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |