Analysis of information sources in references of the Wikipedia article "Halting problem" in English language version.
... if the program gets stuck in a certain loop, ... figure out what's wrong.
For hard real-time systems, therefore, it is important to write subroutines that always execute in the same amount of time or that have a clearly identifiable worst case.