我正在尝试在Aptana 3中调试简单的Ruby文件。
class HelloWorld
def initialize()
end
def greet()
puts "hello world"
end
end
h=HelloWorld.new
h.greet
断点已设置为。
h.greet
我开始调试后,调试器启动了,但当它尝试初始化 Ruby 类时,调试器会断开连接并显示消息。
Fast Debugger (ruby-debug-ide 0.4.9) listens on :54749
Exception in DebugThread loop: undefined method `is_binary_data?' for "#<HelloWorld:0x85915fc>":String
当我设置断点时
h=HelloWorld.new
调试器启动了,但是当我进入initialize()
构造函数时,它与之前的信息断开了连接
我的宝石列表:
*** LOCAL GEMS ***
archive-tar-minitar (0.5.2)
bigdecimal (1.1.0)
columnize (0.3.6)
io-console (0.3)
json (1.5.4)
linecache19 (0.5.13)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)
ruby-debug-base19 (0.11.26)
ruby-debug-ide19 (0.4.12)
ruby-debug19 (0.11.6)
ruby_core_source (0.1.5)
我已经成功地应用了这些说明,来解决调试问题,但我仍然收到了这个异常消息。
欢迎任何回答,可以为这个问题提供一些线索。
谢谢。