Iterator and debug merge