Julian Leviston
2009-May-07 09:39 UTC
[rspec-users] [cucumber] Is it usual that selenium doesn''t allow debugger?
Hi, We''re using Rails 2.3.2, and debugger doesn''t seem to work in cucumber/ webrat running selenium mode. Has anyone else had this issue? It seems to be skipping the debugger methods Julian.
Rick DeNatale
2009-May-07 17:31 UTC
[rspec-users] [cucumber] Is it usual that selenium doesn''t allow debugger?
On Thu, May 7, 2009 at 5:39 AM, Julian Leviston <julian at leviston.net> wrote:> Hi, > > We''re using Rails 2.3.2, and debugger doesn''t seem to work in > cucumber/webrat running selenium mode. Has anyone else had this issue? > > It seems to be skipping the debugger methodsRails noops the debugger method by default with a method which just logs the call. If Kernel already has a debugger method then it doesn''t. If you run script/server with the -u / --debugger option, then it requires ''ruby-debug'' and calls ::Debugger.start during initialization. Rails 2.3 does this by inserting a rack app which just does this. David C. and I put support for the -u/--debugger options for the spec command a few releases back, I don''t know if this has any effect on cucumber. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale