简体   繁体   中英

Netbeans Executable Linux C

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

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM