I am writing a C program in VS 2013 and I want to debug a particular sub-array from full 2D matrix of ints. For example, using debugger watch window, I can print like,
Mat // this shows the full NxM Mat matrix values
Mat[i][j] // this shows value of cell (i, j)
Mat[i] // this shows the values of full i'th row
Mat[i], j // this shows first j values from i'th row
But I want to print a snapshot of a sub-part of Mat, which consists of (i1, j1) to (i2, j2) in small 2D grid. Is it possible? I require it because sometimes debugging smaller sub-array seems a tedious work especially when the main array is too big and I am interested to a subpart somewhere in the bottom-right corner of the full array.
Any workaround, if there is no standard way?