How to detect infinite loop?

Printable View