I've been trying to write a new importer for Assimp (Home). It seems ready for debugging, so I wrote a unit test for it. It fails with an access violation exception, so I started the debugger and breakpointed a few areas of interest.
I'm trying to use a for-loop to read in a number of pairs of unsigned 4 byte integers (type IDs and offsets) with the total count for each being the variable `mh->sectionCount`.
My problem is that when I execute this part of the code in the debugger, `mh->sectionCount` has a value of 7, but both `offsets` and `types` arrays are showing only one value entry each, even though the memory region for `types` (highlighted in screenshot) reflects 28 total bytes read in. I forgot to show this, but the variable `b` in the for-loop does go up to 6 as expected.
TL;DR: I think the MSVC debugger display of locals in regards to dynamically allocated arrays is utterly bugged, but I'd like to make sure it's that and not just a mistake in my code. I cannot debug Assimp with MinGW because its linker has issues.