Re: [rspec-users] debuggin cucmber script in ruby

2009-04-08 Thread Matt Wynne
On 7 Apr 2009, at 17:23, Scott Taylor wrote: On Apr 7, 2009, at 11:54 AM, Ben Mabey wrote: On Apr 7, 2009, at 8:30 AM, aidy lewis wrote: On 07/04/2009, Zach Dennis zach.den...@gmail.com wrote: On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey b...@benmabey.com wrote: My best suggestion

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-07 Thread aidy lewis
On 07/04/2009, Zach Dennis zach.den...@gmail.com wrote: On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey b...@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

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-07 Thread aslak hellesoy
On Tue, Apr 7, 2009 at 4:30 PM, aidy lewis aidy.le...@googlemail.comwrote: On 07/04/2009, Zach Dennis zach.den...@gmail.com wrote: On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey b...@benmabey.com wrote: My best suggestion would be to set multiple breakpoints and hit c to continue to

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-07 Thread Mark Wilden
On Tue, Apr 7, 2009 at 7:30 AM, aidy lewis aidy.le...@googlemail.com wrote: 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? With webrat, the following is pretty useful: When /^I view

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-07 Thread Ben Mabey
On Apr 7, 2009, at 8:30 AM, aidy lewis wrote: On 07/04/2009, Zach Dennis zach.den...@gmail.com wrote: On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey b...@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

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-07 Thread Scott Taylor
On Apr 7, 2009, at 11:54 AM, Ben Mabey wrote: On Apr 7, 2009, at 8:30 AM, aidy lewis wrote: On 07/04/2009, Zach Dennis zach.den...@gmail.com wrote: On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey b...@benmabey.com wrote: My best suggestion would be to set multiple breakpoints and hit c to

[rspec-users] debuggin cucmber script in ruby

2009-04-06 Thread Anil Gollaa
basically to debug a ruby script we use: ruby -rspecs -rdebug file.rb which would debug ruby script line by line. Is there any such debuging feauture in cucumber. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-06 Thread Ben Mabey
Anil Gollaa wrote: basically to debug a ruby script we use: ruby -rspecs -rdebug file.rb which would debug ruby script line by line. Is there any such debuging feauture in cucumber. I just require 'ruby-debug' and set a debugger statement where I want to stop it. When you run cucumber it

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-06 Thread Anil Gollaa
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

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-06 Thread Ben Mabey
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

Re: [rspec-users] debuggin cucmber script in ruby

2009-04-06 Thread Zach Dennis
On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey b...@benmabey.com wrote: 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