astashov / vim-ruby-debugger

Vim plugin for debugging Ruby applications (using ruby-debug-ide gem)
435 stars 36 forks source link

debugger errors at every command #86

Open ghost opened 11 years ago

ghost commented 11 years ago

breakpoints work, but i get this error before every command.

Error detected while processing function 468..450..73_send_message_to_debug ger: line 11: Errno::ENOENT: (eval):18:in `initialize': No such file or directory - /tmp/vmECr Uo/2

astashov commented 11 years ago

Hmm, seems like the socket file is not created? Could you please attach logs from ~/.vim/bundle/vim-ruby-debugger/tmp?

ghost commented 11 years ago

I checked the tmp file but the file in there, ruby_debugger_log, is blank. Is there a setting to turn debugging on?

astashov commented 11 years ago

Yeah, g:ruby_debugger_debug_mode https://github.com/astashov/vim-ruby-debugger/blob/master/doc/ruby_debugger.txt#L173

ghost commented 11 years ago

Okay, this is what I'm getting. Is there any sort of sequence of commands do you want me to try executing? Vim plugin, 12:29:27: Adding 'next' to queue Vim plugin, 12:29:27: Step over Vim plugin, 12:29:27: Executing queue Vim plugin, 12:29:27: Sending a message to ruby_debugger.rb: 'next' Vim plugin, 12:29:27: Adding 'next' to queue Vim plugin, 12:29:27: Step over Vim plugin, 12:29:27: Executing queue Vim plugin, 12:29:27: Sending a message to ruby_debugger.rb: 'next' Vim plugin, 12:29:28: Adding 'next' to queue Vim plugin, 12:29:28: Step over Vim plugin, 12:29:28: Executing queue Vim plugin, 12:29:28: Sending a message to ruby_debugger.rb: 'next' Vim plugin, 12:29:43: Trying to toggle a breakpoint in the file /home/sean/ruby/misc/fib.rb:6 Vim plugin, 12:29:43: There is already set breakpoint presented, so delete it Vim plugin, 12:29:43: Removed Breakpoint object from RubyDebugger.breakpoints array Vim plugin, 12:29:57: Trying to toggle a breakpoint in the file /home/sean/ruby/misc/fib.rb:13 Vim plugin, 12:29:57: There is no already set breakpoint, so create new one Vim plugin, 12:29:57: Set breakpoint to: /home/sean/ruby/misc/fib.rb:13 Vim plugin, 12:29:57: Added Breakpoint object to RubyDebugger.breakpoints array Vim plugin, 12:29:57: Server is running, so add command to Queue Vim plugin, 12:29:57: Adding 'break /home/sean/ruby/misc/fib.rb:13' to queue Vim plugin, 12:29:57: Executing queue Vim plugin, 12:29:57: Sending a message to ruby_debugger.rb: 'break /home/sean/ruby/misc/fib.rb:13' Vim plugin, 12:30:17: Adding 'next' to queue Vim plugin, 12:30:17: Step over Vim plugin, 12:30:17: Executing queue Vim plugin, 12:30:17: Sending a message to ruby_debugger.rb: 'next' Vim plugin, 12:30:18: Adding 'next' to queue Vim plugin, 12:30:18: Step over Vim plugin, 12:30:18: Executing queue Vim plugin, 12:30:18: Sending a message to ruby_debugger.rb: 'next' Vim plugin, 12:30:19: Adding 'next' to queue Vim plugin, 12:30:19: Step over Vim plugin, 12:30:19: Executing queue Vim plugin, 12:30:19: Sending a message to ruby_debugger.rb: 'next'

mgraham commented 10 years ago

I get the same error message.