From: Gavin Sinclair Date: 2004-09-14T13:48:56+09:00 Subject: Re: debig an infinite loop transami wrote: > Pointers on debug'n, especially tracking an infinite loop. My preferred method of debugging is to open an irb shell from the program. This lets you evaluate local variables, etc. See Florian Weber's recent "breakpoint.rb" announcement. loop do ... breakpoint if some_condition ... end For an infinite loop, I'm guessing printf-debugging would help as well. Thus: puts/logger/log4r. > Also is there a Ruby "binding" for ddd? I sincerely doubt it. Cheers, Gavin