vim-ruby-debugger icon indicating copy to clipboard operation
vim-ruby-debugger copied to clipboard

debugger errors at every command

Open ghost opened this issue 12 years ago • 5 comments

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

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

ghost avatar Jul 18 '13 03:07 ghost

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

astashov avatar Jul 18 '13 05:07 astashov

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

ghost avatar Jul 18 '13 08:07 ghost

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

astashov avatar Jul 18 '13 16:07 astashov

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'

ghost avatar Jul 18 '13 19:07 ghost

I get the same error message.

mgraham avatar May 14 '14 15:05 mgraham