How To Watch Pointer As An Array

At times, I had been annoyed that the watch window was not showing the whole contents of a pointer array until I found the trick.

Put in the watch window

Starting Address, No of elements to be shown

Please note that in the screen shot attached, the pointer has not been deleted. This may cause memory leaks. I’m sorry that I saw it only now.

Leave a comment