Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Valgrind plugin

<< < (6/9) > >>

stahta01:

--- Quote from: kfmfe04 on July 13, 2009, 06:11:26 am ---What is the status of this Valgrind plugin?

I would like to try it on an Ubuntu/Amd64 set-up (never used Valgrind before) for profiling, mostly, but I don't want the attempt to turn into a massive time-sink...

Has anyone tried it recently?  What works?  What doesn't?
Thanks in advance.

- Ken
(BTW, I am running 8.02, Build: Jul 24 2008, 15:20:21, and I can't seem to find the plug-in under Plug-Ins... > Manage Plugins.)


--- Quote ---The valgrind plugin is part of the contrib-plugins and therefore included in the sources and nightlies since svn r5113 (2008-07-09).

--- End quote ---

--- End quote ---

Feb 2008 (8.02) is before July 2008 that is why you do not see the plugin.

Tim S

yakumoklesk:
I posted this in a wrong thread, so I put it here and the solution I found:


I am trying to run valgrind plugin, but it says that it needs to specify a XML file.

I have the valgrind version:


--- Code: ---valgrind-3.5.0-Debian,

--- End code ---

that needs the parameter


--- Code: -----xml-file=<file>         XML output to <file>
--- End code ---

Is there any place where I can specify it?

Thanks in advance.

Workaround

Ok. I needed to find an older version. I did the following after installing apt-show-versions:


--- Code: ---apt-show-versions -a valgrind
valgrind 1:3.5.0-2 install ok installed
valgrind 1:3.3.1-3 lenny   http.us.debian.org
valgrind 1:3.5.0-2 testing http.us.debian.org
valgrind 1:3.5.0-2 sid     ftp.de.debian.org
valgrind/testing uptodate 1:3.5.0-2

--- End code ---

Then downgrade:


--- Code: ---sudo apt-get install valgrind=1:3.3.1-3
--- End code ---

This is just in case other people may have the same problem that me.

Now it launches.

yakumoklesk:
But it does nothing... The application is run, then I close it. Then nothing.

What is next?

killerbot:
It is well possible that it might not correctly run with valgrind 3.5, since a few things have changed in valgrind.
Currently I am still at 3.2.3 and 3.3.0.
And there i have been using it in august/september and it still worked ;-)

In a few weeks i will be at valgrind 3.5.0, I will look into the issues at that time. Unless people can already give hints on what is going wrong.

oBFusCATed:
You need to pass -xml-fd=0 or 2 (stdout or stderr) to make it happy

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version