Can't use ifdefs here, the mpFldTypes array must have fixed contents

Each entry must be exactly at the right index.

Change-Id: Id8a4b517b4987c6a5c08a8625b6df9fe7d7438a4
Use a real assert() here

Change-Id: I20a59c1df814919f06ce294addbb0d678414f55d
Add some sources from framework for debugging convenience

Change-Id: Id6c6ce764f03849e63fd69dcc780155c98fee812