How do I use valgrind on xcode?

I was recommended to use valgrind to check for memory leaks at work. I am currently compiling C ++ to X code. They use vi. I downloaded and installed the package from here: http://valgrind.org/downloads/repository.html

Although, now I have no idea how to use it in X-code. Thanks in advance!

+4
source share
1 answer

Our solution was to isolate all C ++ code for a separate purpose and compile it for Mac (not ios). You can continue to use xCode to write and run code. After your goal is built, you can execute any third-party command line tools, such as valgrind or Google test framework (from the command line, of course).

0
source

Source: https://habr.com/ru/post/1436657/


All Articles