Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse CDT 8.1 (OSX) Valgrind(Couldn't determine version of Valgrind)
Eclipse CDT 8.1 (OSX) Valgrind [message #893296] Tue, 03 July 2012 13:29 Go to next message
Christoffer Nyberg is currently offline Christoffer NybergFriend
Messages: 1
Registered: July 2012
Junior Member
Hello this is my first post. I have installed version 8.1 of the Eclipse CDT, looks really nice. I have a problem when I'm going to profile using valgrind (which I already installed using macports: installed version 3.7 of valgrind). When I try to launch the profiler I get the message:
Couldn't determine version of Valgrind
java.io.IOException

I checked around in the setting to see if I can point Eclipse to the right path but without success, does anyone else have the same problem and hopefully a solution to the problem.

cheers
/ Chris
Re: Eclipse CDT 8.1 (OSX) Valgrind [message #1423457 is a reply to message #893296] Sun, 14 September 2014 13:06 Go to previous messageGo to next message
Ronald Inselberg is currently offline Ronald InselbergFriend
Messages: 2
Registered: September 2014
Junior Member
I downloaded Eclipse Luna for 64-bit Mac OS X, just a few days ago

So I can build and run the debug config of my C++ code as a local C++ app, but when I try to profile from within Eclipse using Valgrind, I get the same error message as the previous forum poster

"Couldn't determine version of Valgrind"

Is this an Eclipse bug that has not been fixed? Is there a workaround? I think (from what I see) that Valgrind is an integral part of the Eclipse Luna download. Or am I missing something? Do I need to go outside of Eclipse to download Valgrind, separately from the Eclipse download?

Here's what I downloaded from Eclipse:

Eclipse IDE for C/C++ Developers
Version: Luna Release (4.4.0)
Build id: 20140612-0600

[Updated on: Sun, 14 September 2014 18:17]

Report message to a moderator

Re: Eclipse CDT 8.1 (OSX) Valgrind [message #1426408 is a reply to message #1423457] Thu, 18 September 2014 18:04 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Valgrind is an external tool. You have to download it separately. Eclipse only provides an UI wrapper around Valgrind.

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Eclipse CDT 8.1 (OSX) Valgrind [message #1431211 is a reply to message #1426408] Thu, 25 September 2014 10:59 Go to previous messageGo to next message
Ronald Inselberg is currently offline Ronald InselbergFriend
Messages: 2
Registered: September 2014
Junior Member
If anyone already has Valgrind installed on their system, but is getting the "could not determine version of Valgrind" error message when they attempt to use the Valgrind profiler tool directly from Eclipse, this page on stackoverflow is something they should look at. The post title at stackoverflow is :

Eclipse Luna error messages on GDB and Valgrind, unable to Debug or Profile C++ program as Local C/C++ Application
Re: Eclipse CDT 8.1 (OSX) Valgrind [message #1433902 is a reply to message #1431211] Mon, 29 September 2014 11:44 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Here is the link http://stackoverflow.com/questions/25847091/eclipse-luna-error-messages-on-gdb-and-valgrind-unable-to-debug-or-profile-c

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:Weird errors all of a sudden...
Next Topic:How to prevent string truncation in debugger's Variables window?
Goto Forum:
  


Current Time: Fri Mar 29 05:37:59 GMT 2024

Powered by FUDForum. Page generated in 0.02981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top