I\'m trying to debug simple ruby file in Aptana 3.
class HelloWorld
def initialize()
end
def greet()
puts "hello world"
end
end
h=Hell
I was using exabug's solution for a while but this awful bug in such a critical feature of a programming language like debugging didn't let me rest, so I investigated it a little bit closer, and that's what I found out.
Firstly, ruby-debug-ide implemented a workaround to the problem, which should be included in beta versions of the gem so you may give them a try. See here to find out what versions are available. The latest beta crashed on my computer, though, and I haven't tested the rest.
Secondly, the problem exists because is_binary_data? method has been moved to a standard library called Syck. So adding require 'syck' to xml_printer.rb is in my opinion a cleaner solution than both the one implemented by ruby-debug-ide and proposed by exabugs.
I'm quite new to Ruby but I must say a bug which completely prevents me from debugging anything, which remains unfixed in stable versions for a year, doesn't make a very good impression about the whole language.