Viladoman / StructLayout

Visual Studio Extension for C++ struct memory layout visualization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bit fields not supported

amzeratul opened this issue · comments

Members which belong to a bit field currently show as a "hole" in the visualization. Here's an example from my project:

image

image

Sorry about that. This is in my todo list. Bitfield detection code

I had doubts about how to visualize them, so I left them out for the first implementation. I might do it similar to what has been done with empty base optimizations. Something like displaying the big chunk (byte based) in the view and the individual bits inside in the tooltip.

Just submitted version 0.3 which should fix this. Let me know if there are still issues with bitfields.