You are not logged in. Lock_open    

Video: 'Infinite Loop (Eclipse)'

Infinite Loop (Eclipse) Time: 5:09
Average:
  • Currently 3.1/5 Stars from 49 ratings
  •  
  •  
  •  
  •  
  •  
49 ratings
Your Rating:
  • Currently 0.0/5 Stars from 49 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Loop Logic Error Debugging Process Eclipse
Narration language: Gb English
Flash_icon Watch Online 24.40Mb
Quicktime_small Download 5.74Mb (Right-click and select 'save as')

Description:

Shows an infinite loop that occurs due to lack of update of a loop iterator inside an if statement in the loop. It identifies that an infinite loop is happening when the program does not seem to end. It then shows how to insert print statements to output the iterator value at the beginning of the loop, and then again at the end of the loop.



Leave a comment about this video...

What others are saying

mthomas @ August 31, 2007 15:03

Video froze half-way through. I waited 10 minutes. (Am at work—university connection. So should be fast.)