Hiya, I have a java exercise I have to do, on which I cannot change the code only add statements. The trouble is, if it gets into an infinite loop the results of the program run off the terminal window and I am left with error messages that are meaningless. My eclipse is not working so I cannot use that. Is there a way of pausing or stopping the program when it is running in the terminal?