Hi, Anyone know whether there is a Ruby IDE (free or not free) that supports STEP-THROUGH? i.e. the ability to step through the code as it is executing? I''m trying to understand some code that has module inclusions, extends, "class_eval do" and various things and I''m finding it a little difficult. It would be great to be able to step through what the code is doing (like in visual studio or eclipse) and be able to example the variables as it goes (e.g. how it builds up dyanmically more methods into the class etc, or adds methods into the class based on the context of the calling class ["class_eval do"]). Tks -- 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 -~----------~----~----~----~------~----~------~--~---
Rails has its own breakpointer. http://wiki.rubyonrails.org/rails/pages/HowtoDebugWithBreakpoint run script/breakpointer then add ''breakpoint'' call in your code. As for an IDE, RadRails will have this capability next month some time apparently. On 04/09/06, Greg Hauptmann <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > Hi, > > Anyone know whether there is a Ruby IDE (free or not free) that supports > STEP-THROUGH? i.e. the ability to step through the code as it is > executing? > > I''m trying to understand some code that has module inclusions, extends, > "class_eval do" and various things and I''m finding it a little > difficult. It would be great to be able to step through what the code > is doing (like in visual studio or eclipse) and be able to example the > variables as it goes (e.g. how it builds up dyanmically more methods > into the class etc, or adds methods into the class based on the context > of the calling class ["class_eval do"]). > > Tks > > -- > 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 -~----------~----~----~----~------~----~------~--~---
Huw Collingbourne
2006-Sep-04 12:46 UTC
Re: IDE which allows STEP-THROUGH? - Does one exist?
Greg Hauptmann wrote:> Hi, > > Anyone know whether there is a Ruby IDE (free or not free) that supports > STEP-THROUGH? i.e. the ability to step through the code as it is > executing? > >Yes, Ruby In Steel has had this for some time - step-into/step-over; breakpoints; watch variables; autos; locals; call-stack (etc.) http://www.sapphiresteel.com best wishes Huw -- 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 -~----------~----~----~----~------~----~------~--~---
Greg, I''ve been using the console for this. (ruby scripts/console). Typically I only need to test individual functions and it only takes a couple seconds to setup the objects. Then I copy individual lines of the function over. It may seem cumbersome, but I''ve actually found it to be quite quick. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Christer Nilsson
2006-Sep-04 18:49 UTC
Re: IDE which allows STEP-THROUGH? - Does one exist?
ArachnoRuby has a very good and quick debugger. http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php I compared ArachnoRuby with Komodo and radrails half a year ago and it was a clear winner. -- 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 -~----------~----~----~----~------~----~------~--~---
Christer - did you compare with Ruby In Steel (as suggested by Huw)? On 9/5/06, Christer Nilsson <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > ArachnoRuby has a very good and quick debugger. > > http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php > > I compared ArachnoRuby with Komodo and radrails half a year ago and it > was a clear winner. >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Christer Nilsson
2006-Sep-04 21:34 UTC
Re: IDE which allows STEP-THROUGH? - Does one exist?
Greg H wrote:> Christer - did you compare with Ruby In Steel (as suggested by Huw)?nope, It was unknown to me at that time. -- 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 -~----------~----~----~----~------~----~------~--~---
Thomas, Mark - BLS CTR
2006-Sep-05 15:26 UTC
Re: IDE which allows STEP-THROUGH? - Does one exist?
> Greg Hauptmann wrote: > > Hi, > > > > Anyone know whether there is a Ruby IDE (free or not free) that > > supports STEP-THROUGH? i.e. the ability to step through > the code as > > it is executing? > > > > > > Yes, Ruby In Steel has had this for some time - > step-into/step-over; breakpoints; watch variables; autos; > locals; call-stack (etc.) > > http://www.sapphiresteel.comActivestate Komodo has this feature too. Version 4.0 (still in alpha) has a nice HTTP inspector that allows you to do Ajax debugging as well. - Mark. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
how about "code complete" or "intellisense" or whatever they call that context sensitive drop down list for available methods for the class you''re on - do any of these IDEs offer this? is this possible with a dynamic language? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Huw Collingbourne
2006-Sep-05 21:40 UTC
Re: IDE which allows STEP-THROUGH? - Does one exist?
Greg H wrote:> how about "code complete" or "intellisense" or whatever they call that > context sensitive drop down list for available methods for the class > you''re > on - do any of these IDEs offer this? is this possible with a dynamic > language?Our internal beta (0.8) of the commercial edition of Ruby In Steel already has IntelliSense (drop-down lists of instance and class methods, included methods, accessors etc.) We aim to provide *complete* IntelliSense (comparable with C#) in version 1.0 of this edition will be available in January. best wishes Huw http://www.sapphiresteel.com -- 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 -~----------~----~----~----~------~----~------~--~---
sounds great Huw guys - any other IDE''s right now that support intellisense? (or is this still a niche yet to be filled) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---