Ice debug code