Home > Article > Backend Development > How to View More Than One Element of an Array in the Visual Studio Debugger?
View Array in Visual Studio Debugger
In Visual Studio debugger, by default, the QuickWatch window shows only the first element of an array. However, there is a trick you can use to view more elements.
To view elements 0 to (N-1) of an array, type the expression of the array in the watch window followed by a comma and the number of elements you want to see. For instance, if pArray is the array, type pArray,10 in the watch window.
The above is the detailed content of How to View More Than One Element of an Array in the Visual Studio Debugger?. For more information, please follow other related articles on the PHP Chinese website!