Question

I am currently building a program in C in netbeans at Ubuntu (Linux OS) and I want to parse it to valgrind for memory leaks. So I want to locate the executable that Netbeans create and run it throught terminal with valgrind. So far I cannot locate where Netbeans saves the executable so I am stuck. I know that I can compile the program from terminal but I have a lot of files in different folders so it would be convinient if I could just take the executable from Netbeans.

Alternatively is any way to connect the Netbeans IDE with valgrind?

Thanks in advance

Was it helpful?

Solution

I finally found it. For everyone looking where the executable is located go to:

NetBeansProjects->ProjectName->dist->Debug->GNU LINUX(x86)

and there, is located the output when you click debug tool on Netbeans. For convinience right click on it and then make link and drag the link wherever you like/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top