I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs.
At the moment, I would like to quickly see the values of an array.
See the attached screenshot of the Watch Window.
The variable k is a global array of type double variables; during the present execution, it contains 5 entries.
I have stepped through the program into a sub-routine and would like to see the present values of k's entries.
If I add a watch (Cntrl-D, Q) for k, the address for k and its first entry only are shown.
To see the values of the other four entries, I had to manually add a watch for each entry: k, k, k, etc.
There must be an easier way to do this. I'd simply like to click on the variable in the Watch window, expand it, and view all the values of the array entries. Adding watches manually, especially for larger arrays, could get tedious.
Am I overlooking a setting in the IDE?
Any and all advice is appreciated.
Edited 2 Years Ago by DavidB