TLDR Web Dev · ARTICLES & TUTORIALS
DEBUGGING INFINITE LOOPS
Summary from the TLDR Web Dev newsletter
In object-oriented programs, infinite loops can happen unknowingly. To understand and fix these issues, you should successively inline the methods on the stack until you have a self-referencing method. This gets to the root of the issue compared to just applying a code-level hack.