Comments (9)
Hmm... really strange... Could you open ~/.vim/plugin/ruby_debugger.vim and try to find this function (/send_message_to_debugger). Can you find it?
from vim-ruby-debugger.
Yes, it's there:
function! s:send_message_to_debugger(message) ...
from vim-ruby-debugger.
Do other features work correctly? (:Rdebugger, next/step/continue commands, set/remove breakpoints...)
from vim-ruby-debugger.
Yes, perfectly! I currently have no idea, how I could help you investigating the problem. Is there any log file place you now I could consult or so? Btw. I do this on a Ubuntu 9.04, this is my .vimrc: git://gist.github.com/123099.git , this is this .vim-tree: git://gist.github.com/123102.git, gvim is vim-gnome (2:7.2.079-1ubuntu5)
from vim-ruby-debugger.
Well, it is even more strange, because :Rdebugger and others use s:send_message_to_debugger too. Let me suggest some ways:
- In command mode, run ':scriptnames' and find SID of ruby_debugger.vim. E.g.:
26: /home/anton/.vim/plugin/ruby_debugger.vim
- SID is 26
Then execute send_message_to_debugger with SID instead of RdbCommand::call 26_send_message_to_debugger('p User.count')
- Find string in ~/.vim/plugin/ruby_debugger.vim
let RubyDebugger.send_command = function ("s:send_message_to_debugger")
and change it to
let RubyDebugger.send_command = function("<SID>send_message_to_debugger")
Then close and open Vim, run :Rdebugger and try :RdbCommand again.
Tell me if 1 or 2 is worked (or if no one :)). Thanks!
from vim-ruby-debugger.
Hi, the steps 1) and 2) didn't help, BUT, I disabled all plugins apart from your's and now it works. So there is probably a conflict with one of these:
deleted: plugin/CSApprox.vim
deleted: plugin/ColorSchemeMenuMaker.vim
deleted: plugin/ColorSchemes.vim
deleted: plugin/IndexedSearch.vim
deleted: plugin/NERDSnippets.vim
deleted: plugin/NERD_tree.vim
deleted: plugin/allml.vim
deleted: plugin/apidock.vim
deleted: plugin/bufexplorer.vim
deleted: plugin/camelcasemotion.vim
deleted: plugin/color_sample_pack.vim
deleted: plugin/endwise.vim
deleted: plugin/fuzzyfinder.vim
deleted: plugin/fuzzyfinder_textmate.vim
deleted: plugin/grep.vim
deleted: plugin/matchit.vim
deleted: plugin/pastie.vim
deleted: plugin/rails.vim
deleted: plugin/ruby_debugger_test.vim
deleted: plugin/surround.vim
deleted: plugin/tComment.vim
deleted: plugin/taglist.vim
deleted: plugin/themes.vim
I will re-enable them sequentially and post the results!
from vim-ruby-debugger.
It turned out, that everything works, if I delete ruby_debugger_test.vim from the plugins folder. Im unsure, if I wasn't supposed to install them both?
from vim-ruby-debugger.
Yeah, you need to remove one of them and leave only ruby_debugger.vim or ruby_debugger_test.vim (second file contains contents of ruby_debugger.vim + unit tests for the plugin). So, if you don't want to run unit tests, you can remove ruby_debugger_test.vim.
Thanks for this research, by the way :) ! I think I'll move out ruby_debugger_test.vim from vim directory.
from vim-ruby-debugger.
Oki, great - thank's a lot for your help!
from vim-ruby-debugger.
Related Issues (20)
- Screenshot is broken HOT 4
- Rdebugger calls vim instead of mvim and fails --servername HOT 5
- Debugger is not running HOT 22
- RdbStop not working HOT 10
- Caught deadly signal ABRT HOT 2
- Debuger not start HOT 2
- Not hit breakpoint on Linux HOT 50
- debugger errors at every command HOT 5
- Debugger terminates HOT 10
- "VIM not found" debugger wont start server HOT 8
- Can't debug because 'builder' gem is loaded HOT 7
- `:Rdebugger` does not return HOT 1
- Windows support HOT 2
- Customize window positions (variables, breakpoints, etc..)
- Weird error HOT 2
- Is it working under ruby 2.0.0? HOT 6
- Не запускается debugger HOT 4
- Могу ли я использовать дебаггер, когда я запускаю задачи через tpope/vim-rake ? HOT 1
- Don't running RdbTest HOT 2
- Unable to run a simple rb file and getting an error trying to run debugger
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-ruby-debugger.