Part Number: EK-TM4C123GXL
How can the variable watch be setup to display more than the first element of an array when the array is passed to a function by a pointer. The function only knows it is char*.
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: EK-TM4C123GXL
How can the variable watch be setup to display more than the first element of an array when the array is passed to a function by a pointer. The function only knows it is char*.
Thanks
Hello John,
In the Expressions viewer if you right click the pointer, you can select to Display As Array:

This will then ask you for a start index and a length before displaying the data as an array. You can then change the data type displayed with the Number Format option when right clicking your array.
Note: This option won't show up for non-pointers or already existing arrays.
Best Regards,
Ralph Jacobi