More debug code and plugged in buildInheritance to VariableAccesInfo.