From: Robert Klemme Date: 2003-06-06T01:40:14+09:00 Subject: Re: Infinite Loop "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im Newsbeitrag news:pan.2003.06.05.15.49.19.101201@sneakemail.com... > On Thu, 05 Jun 2003 08:14:09 +0000, George Moschovitis wrote: > > 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? > > In interactive GUI applications I tried similar things. In console > applications I have no problems locating infinit loops. > I think I need more info about your project in order to help. > > Which kind of application are you working on ? > * interactive GUI app. > * mod_ruby dynamic-html stuff. > * non-interactive application. > > Are your using mutexes, semaphores, processes, threads ? Also: goes CPU utilization up or down. i.e., does it hang or spin endlessly? robert