debug segments