[rspec-users] debuggin cucmber script in ruby
aslak.hellesoy at gmail.com
Tue Apr 7 10:54:45 EDT 2009
On Tue, Apr 7, 2009 at 4:30 PM, aidy lewis <aidy.lewis at googlemail.com>wrote:
> On 07/04/2009, Zach Dennis <zach.dennis at gmail.com> wrote:
> > On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey <ben at benmabey.com> wrote:
> > > My best
> > > suggestion would be to set multiple breakpoints and hit "c" to
> continue to
> > > the next one so you can skip through all of Cucumber's code.
> > I will sometimes set a global variable to help me flag when to debug,
> > if the code in question gets executed multiple times. e.g.
> > $c = true if my_condition_is_met
> > And then...
> > debugger if $c
> Some useful tips, but I feel the ruby-debug tutorials that exist are
> lacking. Would it be fitting for me to add a Cucumber and ruby-debug
> page on the Wiki?
A page titled ruby-debug would be great Aidy!
> rspec-users mailing list
> rspec-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users