ruby on rails - Debugging rspec with ruby1.9 and netbeans -


How can I debug RSPC specs with an IDE? Specifically I am using the following: * Ubuntu 10.04 * Ruby 1.9.2-Dev RVM * Rail 3-Beta 4 * Made with Netbeans 6.9,

I Ruby-debug 19 and Ruby-debug-id 9 1 gems, but netbens do not recognize my fast-debugger, in addition to trying to debug a device in NetBeans Returns the error:

  Ruby 1.9.2 listens on Debbanger port 35461! Ruby / Exception: No method method message: Undefined method `critical = 'for thread: class --- - /home/mping/devel/netbeans-6.9/ruby/ruby/debug-commons-0.9.5/classic-debug .rbaxy69: in 'trace_off' - / home / mapping / devel / netbeans-6.9 / ruby ​​/ ruby ​​/ debug-commons-0.9.5 / classic-debug.rb: 279: '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-0775: Read_command_loop '- /home/mping/devel/netbeans-6.9/ruby/ruby/debug-commons-0.9.5/classic-debug.rb: 330: IN` Block & amp; Category: DC_DEBUGGER __ & gt;  

thanks

for the exact same error, but debugging Wirh

  • Ubuntu 10.10 32bit
  • Aptana Studio 2
  • Ruby 1.9.2p0 via RVM 1.0.14
  • Rail 3.0 0
  • Ruby-debug-base 19 0.11.24
  • Ruby-Debug-IDDA 0.4.12

Comments