0

Debugger not working in Ruby 1.9.3

Hi,

As always, first things first: Thanks for a fantastic product!

Now for the whining and complaining ;)...

I recently upgraded to Ruby 1.9.3 so I suspect that might be the reason my debugger does not start.

I am using the following:

Ruby 1.9.3
Rails 3.1.1
RubyMine 3.2.4
Ubuntu 11.04

And this is what I get when I try to fire up the debugger (which has worked fine in the past):

Cannot connect to the debugged process at port 50721 in 10s:
Error Output:
/home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/trace_nums19.so: undefined symbol: ruby_current_thread - /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/trace_nums19.so (LoadError)
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/tracelines19.rb:12:in `rescue in <module:TraceLineNumbers>'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/tracelines19.rb:8:in `<module:TraceLineNumbers>'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/tracelines19.rb:6:in `<top (required)>'
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/linecache19.rb:69:in `<top (required)>'
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/ruby-debug-base19x-0.11.30.pre4/lib/ruby-debug-base.rb:3:in `<top (required)>'
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/ruby-debug-ide-0.4.17.beta8/lib/ruby-debug-ide.rb:5:in `<top (required)>'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/ruby-debug-ide-0.4.17.beta8/bin/rdebug-ide:17:in `require_relative'
    from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/ruby-debug-ide-0.4.17.beta8/bin/rdebug-ide:17:in `<top (required)>'
    from -e:1:in `load'
    from -e:1:in `<main>'

Any ideas?

Thanks,
Larry

33 comments

Please sign in to leave a comment.