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 162262

Summary: [Profile] Support for valgrind toolset and SystemTap
Product: cnd Reporter: rmartins <rmartins>
Component: ProfileAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: blocker CC: aaron.hebert, pzgyuanf
Priority: P2    
Version: 8.0.1   
Hardware: All   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description rmartins 2009-04-08 23:37:47 UTC
Hi,

Will profiling be available for Linux in 6.7?
Would it be possible to add support for Valgrind's tools: memcheck, cachegrind, callgrind, hellgrind & massif (for Linux).

Rolando
Comment 1 Alexey Vladykin 2009-04-10 09:24:15 UTC
Profiling for Linux is implemented using SunStudio tool called 'collect'. SunStudio has to be installed for this to
work; but maybe we'll make 'collect' available as NB plugin. Without 'collect' only basic profiling information will be
provided: CPU, memory and thread usage indicators.
There are no plans to support Valgrind yet.
Comment 2 rmartins 2009-04-14 11:45:56 UTC
Hi Alexey,
having the 'collect' as a plugin for the "immediate" future seems a good thing.

I found that eclipse has a project named "Linux Tools Project" that focus on 'integrating popular native development
tools' such as GNU Autotools, Valgrind, OProfile, RPM, Systemtap, etc. 

I would really like to see the same happening to CND. My list would be (by order of preference):
Valgrind (full set), cmake, GNU Autotools, SystemTap, RPM, debian packages (.debs).

My question is, should every item on the list be a separate issue, or should we widen this issue?

Thanks,
Rolando
Comment 3 soldatov 2009-04-14 12:03:25 UTC
NetBeans 6.5 has RPM and Deb support.
Comment 4 yuriy_lalym 2011-06-23 21:37:49 UTC
(In reply to comment #1)
> Profiling for Linux is implemented using SunStudio tool

1. Doesn't work - https://netbeans.org/bugzilla/show_bug.cgi? id=197359
2. If I use NetBeans - what for to me still 700Mb Solaris Studio.
3. If to install Solaris Studio - what for to me also NetBeans.
4. The full functionality in Solaris Studio can be received only using and its compilers. How to collect QtApplication if Qt libraries gathered with the help gcc.

Valgrind, gprof, gcov - Eclipse, CodeBlocks
Valgrind - Kdevelop, QtCreator

> There are no plans to support Valgrind yet.

?
Comment 5 stiffuser 2012-01-25 17:20:06 UTC
Valgrind 3.7 has a gdbserver implementation built-in (with the --vgdb option); NetBeans should be able to integrate with valgrind and retain full debugging capability.
Comment 6 zachsaw 2012-07-24 04:03:03 UTC
+1. voting for Valgrind integration
Comment 7 Tomas Hurka 2013-04-17 06:54:22 UTC
*** Bug 228639 has been marked as a duplicate of this bug. ***
Comment 8 pzgyuanf 2013-09-15 13:27:13 UTC
+1
Comment 9 az.pengwang 2014-06-25 22:17:05 UTC
+1 :)
Comment 10 bmurphy 2014-10-28 15:13:47 UTC
Good morning, was wondering what the immediate hurdles are for not supporting a Valgrind plugin, is it size of the project? In any case, it would be a great addition. Cheers! +1
Comment 11 carlos_alberto_bulant 2015-06-07 13:01:44 UTC
+1 for Valgrind integration!
Comment 12 necktwi 2016-01-05 06:08:45 UTC
+1 for valgrind integration
Comment 13 say_ten 2016-06-14 09:51:13 UTC
+1 as this would be useful for PHP development.
Comment 14 otuk 2017-01-24 00:52:44 UTC
+1  this is still needed running on 8.1
Comment 15 Christian Lenz 2017-12-20 14:45:57 UTC
If this issue is still relevant for some people, can someone please create a new ticket at the new Apache NetBeans JIRA system: https://issues.apache.org/jira/projects/NETBEANS

Please add this link here as an external link to the new ticket and close this ticket here with the reference to the new ticket. Thx :)