I’m having a problem with the jruby debugger and SWT. The app that I’m
trying to debug works fine in non-debug mode or jirb. I’m running on
Windows 7 with 64-bit version of Java and JRuby. Here is the output from
the session:
C:\Users\Roger\Documents\GitHub\shoes4\lib>jruby --1.9 --debug -r debug
junk2.rb
Debug.rb
Emacs support available.
junk2.rb:1:require ‘java’
(rdb:1) n
junk2.rb:2:require ‘swt’
(rdb:1) n
file:/C:/jruby-1.7.4/lib/jruby.jar!/jruby/java/java_package_module_template.rb:1
4: cannot load Java class org.eclipse' (NameError) from C:/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:1:in
(root)’
from
C:/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:36:in
require' from C:/jruby-1.7.4/lib/ruby/gems/shared/gems/swt-0.16/lib/swt.rb:2:in
require’
from
C:/jruby-1.7.4/lib/ruby/gems/shared/gems/swt-0.16/lib/swt.rb:2:in
(root)' from C:/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:1:in
(root)’
file:/C:/jruby-1.7.4/lib/jruby.jar!/jruby/java/java_package_module_template.rb:1
4:
(rdb:1)
Any suggestions? Thanks!