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.
After installation, I attempted to update the ruby-debug-ide gem, but since Ruby was installed as root, I didn't have access through the NetBeans IDE. After shutting down NetBeans and adding the ruby-debug-ide from the command line, I started NetBeans up and went to the Tools -> Ruby Platforms dialog to check the debugger configuration. Under Ruby 1.8.6 (my native version), the debugger was still "Classic Debugger" and I had a button prompting me to install the Fast Debugger (ruby-debug-ide) which I had just installed. I then closed NetBeans and restarted NetBeans as the root user (assuming something may need the elevated privileges to update) and the debugger settings had not changed. Pressing the "Autodetect Platforms" button has no effect at this time.
That's strange. Do you have the same GEM_HOME and GEM_PATH set for the platform in IDE as you have from the command-line? Do you have also all patches from Update Center applied? If yes for both, could you turn on detailed logging, reproduce and attach the log here: http://wiki.netbeans.org/FaqRubyNBLogging Thanks.
As for my machine settings and updates, the answer to both questions is yes. I have all updates applied. I have all gems updated for the native ruby environment. And my GEM_HOME and GEM_PATH settings are the same in both the IDE and from the CLI. So how do I turn on detailed debugging?
It is described in the link I've put into my previous comment, this one: http://wiki.netbeans.org/FaqRubyNBLogging
Created attachment 63645 [details] Log of startup and open tools to view ruby platforms
As you can see in the attached file, on line 769, the system identifies that ruby-debug-ide is installed within the native ruby (1.8.6) environment.
Some additional details. 1) I noticed the versions are different on the ruby-debug-ide under jruby and ruby so I added the older ruby-debug-ide to the ruby installation. Still didn't appear to help 2) I then removed the ruby platform and re-added it. When it was re-added, the fast debugger was identified properly. Based on the results of #2, I would assume the code to detect and load a platform is doing some extra snooping or setting a flag in the "detect" portion that should be in the "load" section.
Created attachment 63646 [details] Second log. This is the remove platform and redetect it log.
Created attachment 63651 [details] Third log file. Autodetect 1.8.7 (with ruby-debug-ide) remove, manually install.
The third log file is after some additional experimentation. This time I removed the 1.8.6 platform, then shutdown NetBeans. I installed 1.8.7 from source (1.8.7-p5000), then reboot. Start NetBeans Autodetect platforms. It finds the 1.8.7 platform at /usr/local/bin/ruby, but it still fails to see that ruby-debug-ide (v 0.2.0) is already installed. Removed platform. Added platform manually. Still failed to see ruby-debug-ide
Some further testing. I removed the 1.8.7 platform from the IDE. Then installed 0.1.10 version of ruby-debug-ide gem Then autodetected platform. Result is a 1.8.7 installed with the fast debugger recognized. So it appears that the detection mechanism is looking specifically for something in or about the 0.1.10 version of ruby-debug-ide and not ruby-debug-ide in general.
Thanks for the details. I see, this is bug in 6.1, which was fixed for 6.5. I've updated the wiki page: http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-RightVersionOfRubyDebugIde The solution is as you've found to keep version 0.1.10 as the *latest* one. I.e. be sure to not have 0.2.0 installed. *** This issue has been marked as a duplicate of 137641 ***