How to inspect arrays in debugger (C++ template)


#1

Using the C++ template. I can see array variable names in the debugger’s inspector area, and the type is correctly listed as array (pointer to int or whatever), but I’m not seeing a way to inspect the elements of the array. Have to resort to using the “Immediate” pane and typing arrayName[0], arrayName[1], arrayName[2], etc etc.

Is there no way to “expand” an array to see its contents?


#2

Never mind. It’s the CS50 version of the IDE/debugger that has the problem. Can expand the arrays just fine using the Cloud9 debugger!