User forums > Using Code::Blocks

Valgrind plugin fails

(1/2) > >>

tainted:
Hi all,

I cannot use the C::B Valgrind plugin. The message i get when i want to use the plugin is:
valgrind --version
execvp(valgrind, --version) failed with error 2!
valgrind --leak-check=yes --xml=yes "bin/Debug/test_wx"
execvp(valgrind, --leak-check=yes, --xml=yes, bin/Debug/test_wx, ) failed with error 2!

C::B version i use is SVN build 5380
Has anyone encountered this problem?

Jenna:

--- Quote from: tainted on April 19, 2009, 11:33:21 am ---Hi all,

I cannot use the C::B Valgrind plugin. The message i get when i want to use the plugin is:
valgrind --version
execvp(valgrind, --version) failed with error 2!
valgrind --leak-check=yes --xml=yes "bin/Debug/test_wx"
execvp(valgrind, --leak-check=yes, --xml=yes, bin/Debug/test_wx, ) failed with error 2!

C::B version i use is SVN build 5380
Has anyone encountered this problem?

--- End quote ---

You need to install valgrind to be able to use it.

tainted:
Right! How stupid of me.
Thanks

But still i have no results. I ran Valgrind MemCheck but I got no message. I deliberately
introduced memory leaks in my app but i cannot get anything out of the execution of this plugin.

Jenna:

--- Quote from: tainted on April 19, 2009, 01:12:32 pm ---But still i have no results. I ran Valgrind MemCheck but I got no message. I deliberately
introduced memory leaks in my app but i cannot get anything out of the execution of this plugin.

--- End quote ---

Do you mean, that the Valgrind and Valgrind messages tab in the logger pane is empty ?

killerbot:

--- Quote ---valgrind --leak-check=yes --xml=yes "bin/Debug/test_wx"

--- End quote ---

Try the command the plug-in creates manually on the shell, any output there ?

Navigation

[0] Message Index

[#] Next page

Go to full version