debug nested structures