debug prints on system.exit