about debugging - PP is your friend. Every time I need to print debug info from inside a program, I use pp rather than puts. I use pretty large data structure and without pp I would be lost.
I found this on using Breakpoint http://wiki.rubyonrails.com/rails/pages/HowtoDebugWithBreakpoint . It's from using it in a Rails context but it may be useful cheers Pierre -----Original Message----- From: Jeff Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 10:08 AM To: [email protected] Subject: Re: [Wtr-general] Ruby IDE There have only been a few times where having a graphical way to dig through a data structure helped any more than simply using Emacs & breakpoint. --jw. On 5/3/06, Cain, Mark <[EMAIL PROTECTED]> wrote: > > > > Komodo is a pretty good IDE and has a good debugger but the personal version > cost 30 buck—I have also had some performance problems with this IDE with > Watir version 1.5.x. If you want free, try Eclipse with the RDE and the SVN > plug-ins. Eclipse is the one I end up using the most. > > > > > > --Mark > > > > ________________________________ > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Paul Carvalho > Sent: Wednesday, May 03, 2006 6:47 AM > > To: [email protected] > Subject: Re: [Wtr-general] Ruby IDE > > > > > > > > I've been using SciTE. Until now I haven't heard of Arachno Ruby.. maybe > I'll check it out. > > Every time I try FreeRIDE it always disappoints me. I tried it again just > now - it doesn't like my dual monitor setup (does weird things with the > menus), and it hangs for some reason in the middle of my scripts. The > scripts run perfectly when I run them from a command line or SciTE, so I > blame the hack'ish IDE. > > A good debugger would certainly be useful. > > > > > > On 03/05/06, Adrian Rutter <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I would like to find out what Ruby IDE you are using for your Watir tests. > I downloaded Arachno Ruby, but its debugger only supports upto Ruby 1.8.3. > > Cheers > > Aidy > > > > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
