This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The problem occurs when I'm using watches or local variables window, inspecting variables. If variable's to_s method raises an exception, netbeans debugging session is terminated and ruby debug process is left running in the background. I can't TERMinate it, only KILL helps.
This one is an interesting issue, as I can't reproduce it using simple test case, it's occurring only in my not-so-simple code. Here's what I get in output window: You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[] $ ps axwwl |grep rdebu 0 1000 22376 1 20 0 49712 46340 - S ? 0:03 /usr/bin/ruby -r /tmp/io-synchronizer55878.rb /usr/bin/rdebug-ide -p 52116 -- script/server -e development --port 3000
Created attachment 60445 [details] messages.log file
Hi. I can easily reproduced with the following example. Will try to fix for next release (or update). Thanks for the feedback. ============= class A def to_s raise 'hey' end end a = A.new puts 'Putting breakpoint here and showning Local Variables will blow up the session' =============
This was bug in the backend. I've fixed it there: http://rubyforge.org/pipermail/debug-commons-commits/2008-August/000241.html You might build trunk version of ruby-debug-ide gem (let me know if you need a help) until ruby-debug-ide 0.2.2 is released. NetBeans is forward compatible so it will detect a new version. Leaving this open as a TASK. I'll notify that ruby-debug-ide 0.2.2 was released by closing this.
New backends were released. Closing.