cldwalker / debugger

port of ruby-debug that works on 1.9.2 and 1.9.3
BSD 2-Clause "Simplified" License
846 stars 80 forks source link

symbol lookup error #116

Closed Goltergaul closed 10 years ago

Goltergaul commented 10 years ago

i can open an irb at a breakpoint but as soon as i try to exit the irb with the exit command my rails server crashes with the following error message:

/home/goltergaul/.rbenv/versions/2.1.0/bin/ruby: symbol lookup error: /home/goltergaul/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/debugger-1.6.5/ruby_debug.so: undefined symbol: rb_vm_get_sourceline

My OS version is Ubuntu 13.04 Debugger version 1.6.5

RubyGems Environment:

cldwalker commented 10 years ago

Thanks for reporting your issue! This is one of my 7 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.

deivid-rodriguez commented 10 years ago

Debugger is not compatible with ruby v2.1, please use byebug instead.

I'll be submitting a pull request to Rails to change the debugger shipped in the default gemfile as soon as I get time. The fact that they recommend ruby 2 or greater but they still have debugger in their default gemfile is misleading.

Goltergaul commented 10 years ago

thanks for the info

Goltergaul commented 10 years ago

Can anyone point me in the right direction to work around that issue? It seems that other people do not have this problem. What could it be?

Goltergaul commented 10 years ago

i just upgraded to ruby 2.1.1p76, same error

cldwalker commented 10 years ago

Closing since I'm scoping debugger to just 1.9.2 and 1.9.3. For more see https://github.com/cldwalker/debugger/issues/125#issuecomment-43353446