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?
(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)
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)
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 W.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.