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.
Profiler metrics are not displayed. Steps to reproduce: - create ProfilingDemo project - choose DTrace Extended profiler configuration - run the project - call HotSpot details - double-click on work_run_usrcpu function in the table The same problem is with remote/full remote projects...
Created attachment 111487 [details] Proposed patch The problem is that again we have faced with the problem of different file mappings... The proposed solution is to use CndFileUtils to do the magic for translating paths... Note that this fix introduces a dependency on cnd.utils from dlight.annotation.support (for me it looks OK. But would like to hear from reviewers).. With this fix following scenarios are covered (when QA will verify, please pay attention to this) 1. Local run => all files are annotated as expected and all of them are local 2. Remote run => all files are annotated as expected; system includes are remote; sources are local; 3. Full remote run => all files are annotated as expected; system includes are remote; sources are remote;
(In reply to comment #1) > Created an attachment (id=111487) [details] > Proposed patch > > The problem is that again we have faced with the problem of different file > mappings... > The proposed solution is to use CndFileUtils to do the magic for translating > paths... Note that this fix introduces a dependency on cnd.utils from > dlight.annotation.support (for me it looks OK. But would like to hear from > reviewers).. It is not OK, but there are same methods in Remote API in FileSystemProvider
Created attachment 111551 [details] Take #2 Right. Proposed fix now uses dlight.remote, so there is no dependency on cnd cluster.
pushed to e**f cs d7afff71717f
Fix is correct and solves the issue
verified in OSS dev build #3381 in DD on Windows
integrated http://hg.netbeans.org/releases/rev/d7afff71717f
Verified in Oracle Solaris Studio 12.3 (2011/10/10)