How to debug in ruby on rails.Can anyone tell?? Any help will be appreciate --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Anand duhan wrote:> How to debug in ruby on rails.Can anyone tell?? > > Any help will be appreciateyap, install the ruby-debug gem and require it in environment.rb than just put anywhere you want "debugger", and in the server output you will get a breakpoint-console-like access to your application flow. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi,> yap, install the ruby-debug gem and require it in environment.rb > > than just put anywhere you want "debugger", and in the server output you > will get a breakpoint-console-like access to your application flow. >If you want a much more comfortable front-end for that, you can install Aptana RadRails. It uses ruby-debug behind the scenes, but you get graphical breakpoints, inspection, stepping the code, etc... Using it is as easy as telling RadRails to add a webrick or mongrel server to your project, changing the start mode from ''run'' to ''debug'' and starting the server. After that you can comfortably toggle breakpoints directly on the margin of your editor and use the usual Eclipse debugging interface. regards, javier ramÃrez p.s. there are other IDEs such as Komodo or Netbeans that also allow this, but I work with RadRails --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sep 11, 2:30 am, Anand duhan <anand.du...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> How to debug in ruby on rails.Can anyone tell?? > > Any help will be appreciatehttp://catb.org/~esr/faqs/smart-questions.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---