如何使用IDE调试rspec规范?具体来说我使用以下内容: * Ubuntu 10.04 *使用rvm构建的ruby 1.9.2-dev * rails3-beta4 * NetBeans 6.9
我已安装 ruby-debug19 和 ruby-debug-ide91 gems,但NetBeans无法识别我的快速调试器。除了尝试在NetBeans中调试规范外,还会出现以下错误:
ruby 1.9.2 debugger listens on port 35461
--- !ruby/exception:NoMethodError
message: undefined method `critical=' for Thread:Class
---
- /home/mping/devel/netbeans-6.9/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:269:in `trace_off'
- /home/mping/devel/netbeans-6.9/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:279:in `block in read_command_loop'
- /home/mping/devel/netbeans-6.9/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:275:in `loop'
- /home/mping/devel/netbeans-6.9/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:275:in `read_command_loop'
- /home/mping/devel/netbeans-6.9/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:330:in `block in <class:DC_DEBUGGER__>'
由于
答案 0 :(得分:0)
这里的错误完全相同,但是用于调试wirh