From: Orion Hunter Date: 2003-06-06T05:08:08+09:00 Subject: Re: Infinite Loop How about using the ruby profiler?? $> ruby -r profile my_program.rb It takes forever to run, but the ouput is useful in identifying which function calls take up most of the processing time, how many times each is called, etc. >From: gm@navel.gr (George Moschovitis) >Reply-To: ruby-talk@ruby-lang.org >To: ruby-talk@ruby-lang.org (ruby-talk ML) >Subject: Infinite Loop >Date: Thu, 5 Jun 2003 23:19:10 +0900 > >Hi everybody, > >I 've written a fairly big ruby programm that works mostly ok. >Sometimes the programm seems to enter an infinite loop :( Does anyone >have a neat idea, how to debug this problem? Perhaps there is a hook >in the interpreter to count recursive method calls that I can exploit >or something similar? > >thanks in advance, >George Moschovitis > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963