ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
371 stars 83 forks source link

Crash when setting breakpoint (0.6.1.beta4 / ruby 2.3.4) #95

Closed tom-mayer closed 7 years ago

tom-mayer commented 7 years ago

Hey,

First up sry if this is more a debase error and has nothing to do with ruby-debug-ide, feel free to close it then.

I am using IntelliJ to start the rails server in debugging mode, as soon as I put a breakpoint somewhere, the interpreter crashes. (I'm on arch linux: 4.11.3-1-ARCH)

/home/tom/.gem/ruby/2.3.0/gems/ruby-debug-ide-0.6.1.beta4/bin/rdebug-ide: symbol lookup error: /home/tom/.gem/ruby/2.3.0/gems/debase-0.2.2.beta9/lib/debase_internals.so: undefined symbol: check_stop_frame

The launch command looks like this:

/home/tom/.rvm/rubies/ruby-2.3.4/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/tom/.gem/ruby/2.3.0/gems/ruby-debug-ide-0.6.1.beta4/bin/rdebug-ide --disable-int-handler --evaluation-timeout 10 --rubymine-protocol-extensions --port 40581 --host 0.0.0.0 --dispatcher-port 40305 -- /home/tom/<project>/bin/rails server -b 0.0.0.0 -p 3000 -e development

I tried recompiling the gems explicitely with gem prestine --all but that didn't help. Any ideas?

tom-mayer commented 7 years ago

Sry this is most definitely a debase error