debuggercommon: have substructs of Value & Record set type via constructor
allows to have the type member defined as const for the lifetime