debug case by case