Debugging Heapblock content

Hi all

I’m sure this must have been asked before but I can’t find it. I’ve converted a project to using Heapblock for memory allocation, which is marvellous, but I can’t figure out how to use the VS2010 debugger to view the content of these arrays. Previous I was using, for example, “arrayName,4” to view a dynamic array of length 4, is there a similar method?


I’m not sure with HeapBlock, but with a ScopedPointer you can access the actual pointer via “scopedPointer.object, 10”. I assume it is quite similar with a HeapBlock, probably “, 10”.


Perfect, problem solved. Thanks Chris.

Sorry to dig up an old thread, same question different IDE, can anybody share how to do this on XCode 4 (or 3)?