Originally filed agains RubyMine (https://youtrack.jetbrains.com/issue/RUBY-15864)
Users basically unable to see value of object's fields.
Here is a simple example which shows how we (ruby-debug-base) try to get value of fields.
It looks like a bug for me, but if it is not please suggest a way to implement similar functionality for jruby.
class Foo
attr_accessor :test
end
foo = Foo.new
foo.test = 'visible?'
puts foo.test
bindings = ["binding()", "Kernel::binding()", "Object.send(:binding)"].map {|b| foo.instance_eval(b)}
bindings.each do |b|
puts "--#{eval("@test", b).nil?}--"
end
Originally filed agains RubyMine (https://youtrack.jetbrains.com/issue/RUBY-15864)
Users basically unable to see value of object's fields.
Here is a simple example which shows how we (ruby-debug-base) try to get value of fields.
It looks like a bug for me, but if it is not please suggest a way to implement similar functionality for jruby.