Could anybody recommend me a good Ruby Debugger. Preferably one that works in vim. I really like gdbtui for C programming, it saves me hours of time, otherwise debugging using printf statements takes up so much time. Could somebody recommend one that works right out of vim? Thanks.
on 2013-07-20 23:44
on 2013-07-21 00:14
github.com/MarcWeber/vim-addon-ruby-debug-ide (requires some additional patches, see README, never got -ide working with recent ruby, may require unix like environment due to vim-addon-async - since recently there is a rb script which might work on windows, too) github.com/MarcWeber/mwr/vim-addon-rdebug (only requires require "debug") There may be more options, such as vdebug etc (I never used them) Pay attention to the README files. Implementation may be incomplete. In both cases you can pass commands to the debugger by the DEBUG buffer (-> see vim-addon-async docs) Marc Weber
on 2013-07-21 00:53
https://github.com/MarcWeber/vim-addon-ruby-debug-ide <- That would be the correct hyperlink. Looks so complicated.. :(
on 2013-07-21 01:03
Excerpts from Alphonse 23's message of Sat Jul 20 22:53:41 +0000 2013: > https://github.com/MarcWeber/vim-addon-ruby-debug-ide > <- That would be the correct hyperlink. > Looks so complicated.. :( Well - you can pay me to simplify it :)
on 2013-07-21 03:47
I would, if I had money. :)
on 2013-07-21 04:42
I recommend pry. It won't open in vim that I know of but it beats the hell out of debugging with puts.
on 2013-07-21 08:15
I've used pry before, but it's only a little bit better than using puts. A debugger similar to gdb would kick a lot of ass.
on 2013-07-21 13:52
Excerpts from Alphonse 23's message of Sun Jul 21 06:15:54 +0000 2013: > I've used pry before, but it's only a little bit better than using puts. > A debugger similar to gdb would kick a lot of ass. Would .. doesn't help you. Aks which debuggers work on your platform, and use that tool for "debugging only". You can still code using Vim. On linux my plugins should work. Maybe the ide JSON bridge has to be updated. Didn't look at it for month Marc Weber