Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug the debugger? #53

Open
ginty opened this issue Jun 30, 2011 · 3 comments
Open

How to debug the debugger? #53

ginty opened this issue Jun 30, 2011 · 3 comments

Comments

@ginty
Copy link

ginty commented Jun 30, 2011

Hi,
This seems like it should be the best plugin ever, if only I could get it to do anything.

I've followed all the instructions and everything seems to work, except there is no rails server process started.
I'm on Ubuntu, RVM, 1.9.2, rails 3.

which rdebug-ide

/home/stephen/.rvm/gems/ruby-1.9.2-p180@salonsquirrel/bin/rdebug-ide

:Rdebugger

Loading debugger...
Debugger started

ps aux | grep ruby

stephen 15207 1.2 0.5 18248 10944 ? Sl 20:56 0:00 ruby /home/stephen/Dropbox/config/.vim/bin/ruby_debugger.rb 127.0.0.1 39767 39768 gvim GVIM /home/stephen/Dropbox/config/.vim/tmp/ruby_debugger posix 0 /home/stephen/Dropbox/config/.vim/tmp/ruby_debugger_log

There is no server process started, the ruby_debugger_log is empty, where can I go from here?

Really appreciate any help you can give!

Thanks a lot.

@astashov
Copy link
Owner

astashov commented Jul 1, 2011

Hi!

Please add let g:ruby_debugger_debug_mode = 1 to ~/.vimrc, restart Vim, and try to do that again.
Then, send me logs from ~/.vim/tmp or ~/.vim/bundle/vim-ruby-debugger/tmp (if you use pathogen).

Thanks!

@lightsblue
Copy link

I'm having a similar issue as described above. I enabled logging, and found this in ruby_debugger_output:

Fast Debugger (ruby-debug-ide 0.4.16, ruby-debug-base 0.10.4) listens on 127.0.0.1:39767
/opt/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.16/lib/ruby-debug-ide.rb:112:in debug_load' /opt/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.16/lib/ruby-debug-ide.rb:112:indebug_program'
/opt/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.16/bin/rdebug-ide:87
/opt/local/bin/rdebug-ide:19:in `load'
/opt/local/bin/rdebug-ide:19
Uncaught exception: no such file to load -- /Users/nvihinen/workspace/receptoreditor-copy/script/server

So I tried explicitly doing :Rdebugger "/Users/nvihinen/workspace/receptoreditor-copy/script/rails server" and got this:
Error detected while processing function 6..42_get_escaped_absolute_path

@regedarek
Copy link

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants