crosire / blink

A tool which allows you to edit source code of any MSVC C++ project live at runtime
BSD 2-Clause "Simplified" License
1.09k stars 81 forks source link

Fix index logic used to read source file names #35

Closed bburgin closed 2 years ago

bburgin commented 2 years ago

I noticed that for large .pdb files, some source file names were missing from the blink console output. Fixed the index logic to correctly loop over the name array.

crosire commented 2 years ago

Interesting. I guess this was used in an earlier version of the PDB format, similar to the NumSourceFiles field one above, but is no longer really in-use now.