Bug Fix For Infinite Loops

As part of this weekends update I was also working on a fix for the ‘infinite loop’ issue that some of you had reported was crashing the page. I’d already fixed part of it but it turns out there were still a few issues.

I believe that this issue has now been resolved and I have pushed out a fix to this tonight. Hopefully this doesn’t cause issues during the day tomorrow but I have done testing tonight which seems to indicate it is working ok.

The fix works as follows:

  1. If the student hits the run button but the program enters an infinite loop, hitting the stop button will halt execution of the program.
  2. If the student hits test and the program enters an infinite loop the process of halting depends on whether the program includes inputs or not. If the program includes inputs, the program will automatically halt after a certain number of inputs have failed. If the program does not include inputs the program can be halted using the stop button.

I think that’s it. I know this has been a problem for some of your students and I hope this prevents loss of work, when combined with the other measures put in place over the last week or two.

Categories:

Leave a Reply

Your email address will not be published. Required fields are marked *