var_view
Inspect C/C++ variables, structures, arrays, and expressions with full expansion of nested fields and pointer targets.
Instructions
View a C/C++ variable, structure, array, or expression with full expansion.
Shows the complete content of complex data types including nested structs, arrays, and pointer targets. Much more detailed than read_variable.
The target must be halted.
Args: expression: C variable name, struct member, array, or expression (e.g., "myStruct", "array[0]", "pTask->state", "%SpotLight")
Returns: Formatted variable view showing all fields and values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |