From: Alexander Ranger Date: 2012-08-10T13:10:02+09:00 Subject: Re: Time-efficient program To know where the program is looping the simplest way is to put several "check points", some actions that should be executed before and after suspicious code blocks. Those actions can be, for example, message outputs or outputs of some variables that can cause looping. Or you can use Ruby IDE that supports debugging where you can walk through your code one command after another. -- Posted via http://www.ruby-forum.com/.