add exception debug warning on resume 0