View Elements of Array

Access:    Analyzer | Watches

It is not always possible to evaluate the content of large data structures or arrays using the local variables display. To inspect one or more elements of an array you can use the Watches window. In the toolbar edit box you type the name of the variable followed by the start element and the number of elements to display. The start element is enclosed in square brackets and the count of elements is enclosed in parentheses, as follows:

variable[ start_element ]( count_of_elements )



Displays ten elements of string array starting at element zero.

char* m_pStrings;


Displays the 100th element of integer array m_Numbers

int m_Numbers[200]