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

:Rdebugger does not return #90

Open
paulepanter opened this issue Nov 28, 2013 · 1 comment
Open

:Rdebugger does not return #90

paulepanter opened this issue Nov 28, 2013 · 1 comment

Comments

@paulepanter
Copy link

Using Vim 7.4 from Debian Wheezy/stable I installed vim-ruby-debugger (Pathogen) and installed the Gem debugger-xml in the development section. rdebug-vim and rdebug-ide are in my path.

With vim --servername VIM, unfortunately the :Rdebugger command does not seem to succeed. Only the following is written and does not return.

    Loading debugger...

Hitting enter and entering a breakpoint the following is printed.

    Error detected while processing function 15..2..<SNR>33_send_message_to_debugger:
    line   11:
    Errno::ENOENT: No such file or directory - /tmp/vSFnBPl/1

The socket does not exist.

    $ more ~/.vim/bundle/vim-ruby-debugger/tmp/ruby_debugger_log

    Vim plugin, 00:34:54: Executing :Rdebugger...
    Vim plugin, 00:34:54: Initializing Server object
    Vim plugin, 00:34:54: Stopping, pid is:
    Vim plugin, 00:34:54: Starting Server, command: "'/home/joe/giantmonkey/dashboard-application/script/rails' server"
    Vim plugin, 00:34:54: Executing command: rdebug-vim --file /home/joe/.vim/bundle/vim-ruby-debugger/tmp/ruby_debugger --output /home/joe/.vim/bundle/vim-ruby-debugger/tmp/ruby_debugger_output --socket /tmp/vSFnBPl/1 --logger_file /home/joe/.vim/bundle/vim-ruby-debugger/tmp/ruby_debugger_log --debug_mode 1 --vim_executable vim --vim_servername VIM --separator ++vim-ruby-debugger-separator++ -- '/home/joe/giantmonkey/dashboard-application/script/rails' server
    debugger-xml, 00:34:55 : Going to daemonize
    Vim plugin, 00:34:55: PID:      from /home/joe/.rvm/gems/ruby-2.0.0-p247@toolbox/bin/ruby_noexec_wrapper:14:in `<main>'
    Vim plugin, 00:34:55: Waiting for starting debugger...
    Vim plugin, 00:36:50: Trying to toggle a breakpoint in the file /home/joe/giantmonkey/dashboard-application/app/controllers/master_controller.rb:12
    Vim plugin, 00:36:50: There is no already set breakpoint, so create new one
    Vim plugin, 00:36:50: Set breakpoint to: /home/joe/giantmonkey/dashboard-application/app/controllers/master_controller.rb:12
    Vim plugin, 00:36:50: Added Breakpoint object to RubyDebugger.breakpoints array
    Vim plugin, 00:36:50: Server is running, so add command to Queue
    Vim plugin, 00:36:50: Adding 'break /home/joe/giantmonkey/dashboard-application/app/controllers/master_controller.rb:12' to queue
    Vim plugin, 00:36:50: Executing queue
    Vim plugin, 00:36:50: Sending a message to ruby_debugger.rb: 'break /home/joe/giantmonkey/dashboard-application/app/controllers/master_controller.rb:12'
    Vim plugin, 00:37:30: Executing :Rdebugger...
    Vim plugin, 00:37:30: Initializing Server object
    Vim plugin, 00:37:30: Stopping, pid is:         from /home/joe/.rvm/gems/ruby-2.0.0-p247@toolbox/bin/ruby_noexec_wrapper:14:in `<main>'
    Vim plugin, 00:37:30: Starting Server, command: "'/home/joe/giantmonkey/dashboard-application/stop' "
    Vim plugin, 00:37:30: Executing command: rdebug-vim --file /home/joe/.vim/bundle/vim-ruby-debugger/tmp/ruby_debugger --output /home/joe/.vim/bundle/vim-ruby-debugger/tmp/ruby_debugger_output --socket /tmp/vSFnBPl/5 --logger_file /home/joe/.vim/bundle/vim-ruby-debugger/tmp/ruby_debugger_log --debug_mode 1 --vim_executable vim --vim_servername VIM --separator ++vim-ruby-debugger-separator++ -- '/home/joe/giantmonkey/dashboard-application/stop' 
    debugger-xml, 00:37:30 : Going to daemonize
    Vim plugin, 00:37:30: PID:      from /home/joe/.rvm/gems/ruby-2.0.0-p247@toolbox/bin/ruby_noexec_wrapper:14:in `<main>'
    Vim plugin, 00:37:30: Waiting for starting debugger...
    Vim plugin, 00:37:50: Stopping, pid is:         from /home/joe/.rvm/gems/ruby-2.0.0-p247@toolbox/bin/ruby_noexec_wrapper:14:in `<main>
@airstep
Copy link

airstep commented Jul 7, 2015

Your ruby version is 2.0, debugger is still for the lower version. Wait for updates...

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

2 participants