utility to display offsets of fields