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.

Bug 162256

Summary: Profiling menu not visible after enabling Ruby
Product: profiler Reporter: esmithbss <esmithbss>
Component: BaseAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: blocker CC: emononen
Priority: P3 Keywords: ERGONOMICS
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen Capture of newly installed IDE with a JRuby based Rails app loaded. -- Note No Profiler capabillities.

Description esmithbss 2009-04-08 20:33:31 UTC
[ BUILD # : 200904051400 ]
[ JDK VERSION : 1.6.* ]

In order to profile a Ruby On Rails application which uses the
Built-in JRuby platform (which uses Java), the Java Profiler module
needs to be enabled.

By default, the Ruby system does not have the Java system or the Java
Profiler enabled and does not provide any means of profiling the
application.
Comment 1 esmithbss 2009-04-08 20:34:22 UTC
Created attachment 79772 [details]
Screen Capture of newly installed IDE with a JRuby based Rails app loaded. -- Note No Profiler capabillities.
Comment 2 esmithbss 2009-04-08 20:36:45 UTC
See NetCat 6.7 archives (subject Re: Default Plugins for Ruby on Rails projects) for additional details.
Comment 3 Jiri Kovalsky 2009-04-09 10:29:56 UTC
The thread is available here: http://www.nabble.com/-67cat--Default-Plugins-for-Ruby-on-Rails-projects-to22932316.html
Comment 4 Jaroslav Tulach 2009-04-10 14:20:51 UTC
Finally we know what the problem is:
http://www.nabble.com/forum/ViewPost.jtp?post=22974222

The Profile menu disappears after enabling JRuby in the full IDE (with 
ergonomics). It should be there by design and is there before the JRuby 
plugins are enabled.

From Erik's last post it's also clear that the wanted action is Attach Profiler, 
knowing that starting JRuby app via Profiler is not possible - that's another 
issue. 
Comment 5 Jaroslav Tulach 2009-04-10 15:16:34 UTC
*** Issue 161490 has been marked as a duplicate of this issue. ***
Comment 6 Jaroslav Tulach 2009-04-16 19:09:52 UTC
ergonomics#a02098c105d8
Comment 7 Quality Engineering 2009-04-17 08:38:41 UTC
Integrated into 'main-golden', will be available in build *200904170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a02098c105d8
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #162256: Static analysis of Menu/Profile