[rspec-users] debuggin cucmber script in ruby

Ben Mabey ben at benmabey.com
Mon Apr 6 12:21:42 EDT 2009

Anil Gollaa wrote:
> hi,
> Thanks for the information,
> When i run cucumber testfile.feature, I was able to halt execution at 
> breakpoint, but when i type 'n'. it is getting in to 
> /lib/cucumber/ast/step_invocation.rb:33 and some other lib files of 
> cucumber.
> I just want to debug line by line of the script, instead of getting in 
> to cucumber files.
> please help me in this regard
Sorry, but I don't know of anything that will automatically allow you to 
skip over framework code.. Although, that would be very cool.  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.


More information about the rspec-users mailing list