Hello, Somewhat new to rails here. But have used Ruby for years and thus have used ruby-debug before with success. My years of gdb experience were helpful. I like how rails development is easy to do with Vim and command line. They only time I yearn for a GUI tool is when debugging. I do MS MVC dev at work, and VS is nice for debugging, even if I am not nuts about the rest of it. Anyone know of a nice lite gui debugger I can easily fire up when needed? I don''t want to have to fire up a beast like netbeans either.... ~S -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/WitXMnCyxKwJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Not sure about GUI, but using pry[1] as a debugger is much nicer than ruby-debug IMO. Don''t forget to install pry-nav [2] so that you get ''next'', ''stap''(in) and ''continue'' for debug navigation! [1] http://pry.github.com/ [2] https://github.com/nixme/pry-nav On 19 June 2012 14:01, sheamus <shea.martin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello, > > Somewhat new to rails here. But have used Ruby for years and thus have > used ruby-debug before with success. My years of gdb experience were > helpful. > > I like how rails development is easy to do with Vim and command line. > They only time I yearn for a GUI tool is when debugging. I do MS MVC dev > at work, and VS is nice for debugging, even if I am not nuts about the rest > of it. Anyone know of a nice lite gui debugger I can easily fire up when > needed? I don''t want to have to fire up a beast like netbeans either.... > > ~S > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/WitXMnCyxKwJ. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Wow, pry looks great. This is likely all I need. Can''t wait to give it a try tonight. ~S On Tue, Jun 19, 2012 at 11:42 AM, Cassiano Leal <cassianoleal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Not sure about GUI, but using pry[1] as a debugger is much nicer than > ruby-debug IMO. > > Don''t forget to install pry-nav [2] so that you get ''next'', ''stap''(in) and > ''continue'' for debug navigation! > > [1] http://pry.github.com/ > [2] https://github.com/nixme/pry-nav > > > On 19 June 2012 14:01, sheamus <shea.martin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hello, >> >> Somewhat new to rails here. But have used Ruby for years and thus have >> used ruby-debug before with success. My years of gdb experience were >> helpful. >> >> I like how rails development is easy to do with Vim and command line. >> They only time I yearn for a GUI tool is when debugging. I do MS MVC dev >> at work, and VS is nice for debugging, even if I am not nuts about the rest >> of it. Anyone know of a nice lite gui debugger I can easily fire up when >> needed? I don''t want to have to fire up a beast like netbeans either.... >> >> ~S >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/WitXMnCyxKwJ. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
If you search around the web you''ll find lots of good info on how to better use pry. For debugging, if you have installed pry-nav, just insert: require ''pry-nav'' binding.pry right where you want the debugger to kick in and you''ll be dropped in a REPL right in the execution context where you called it. From there you can do whatever you want, from checking values of objects to calling methods and everything else. Be aware that if you change the value of a variable and continue running, it will use the newly set value, which is f**** good for experimenting. :) On 19 June 2012 15:24, Shea Martin <shea.martin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Wow, pry looks great. This is likely all I need. Can''t wait to give it a > try tonight. > > ~S > > > On Tue, Jun 19, 2012 at 11:42 AM, Cassiano Leal <cassianoleal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> Not sure about GUI, but using pry[1] as a debugger is much nicer than >> ruby-debug IMO. >> >> Don''t forget to install pry-nav [2] so that you get ''next'', ''stap''(in) >> and ''continue'' for debug navigation! >> >> [1] http://pry.github.com/ >> [2] https://github.com/nixme/pry-nav >> >> >> On 19 June 2012 14:01, sheamus <shea.martin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> Hello, >>> >>> Somewhat new to rails here. But have used Ruby for years and thus have >>> used ruby-debug before with success. My years of gdb experience were >>> helpful. >>> >>> I like how rails development is easy to do with Vim and command line. >>> They only time I yearn for a GUI tool is when debugging. I do MS MVC dev >>> at work, and VS is nice for debugging, even if I am not nuts about the rest >>> of it. Anyone know of a nice lite gui debugger I can easily fire up when >>> needed? I don''t want to have to fire up a beast like netbeans either.... >>> >>> ~S >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ruby on Rails: Talk" group. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/rubyonrails-talk/-/WitXMnCyxKwJ. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You could also try fresh pry-rescue plugin[1].> For debugging, if you have installed pry-nav, just insert: > > require ''pry-nav'' > binding.pryNo need to "require" pry-nav. Just install it and use. Basically, "pry-nav" is a Pry plugin. So it will be required automatically. [1]: https://github.com/ConradIrwin/pry-rescue -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.