Move analyse to debug_print()