How to debug the debugger? #53

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

Comments

Projects
None yet
4 participants
@ginty

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

This comment has been minimized.

Show comment Hide comment
@astashov

astashov Jul 1, 2011

Owner

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!

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

This comment has been minimized.

Show comment Hide comment
@lightsblue

lightsblue Aug 30, 2011

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

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

This comment has been minimized.

Show comment Hide comment
@regedarek

regedarek Jul 11, 2012

I have the same issue

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment