is there anyway to see the entire contents of a dynamically allocaed array?

if i do int *g = new int[10];
fill it with values
and then look at it in the locals window, all i can see is the first value unless i change what g points to.