The electron beam apparatus in accordance with claim 50 or 51, in which said means for obtaining a condition for prohibiting any discharge from occurring is a means for receiving said signal from said detector and then controlling a voltage of said decelerating electric field or an amount of said primary electron beam so as to Inhibit the discharge from occurring. 53.