开发者

What is the equivalent of Valgrind within the Xcode environment?

开发者 https://www.devze.com 2023-02-19 22:36 出处:网络
It was recently recommended to me to use Valgrind to check for memory leaks, errors etc. on my iPhone project (which is written mainly in C and Objective-C).

It was recently recommended to me to use Valgrind to check for memory leaks, errors etc. on my iPhone project (which is written mainly in C and Objective-C).

I'm fairly new to this kind of work and was wondering what tools there were in Xcode that would serve the same purpos开发者_如何学Pythone.

Thanks so much


If you want to check memory leaks then you can run your project with performance tool with leaks. Follow the screen shot.

What is the equivalent of Valgrind within the Xcode environment?


http://landonf.bikemonkey.org/code/iphone/iPhone_Simulator_Valgrind.20081224.html

Xcode's "Leaks" tool is not the same thing as Valgrind. Valgrind detects overwriting memory boundaries (amongst other things) in addition to detecting memory leaks.

0

精彩评论

暂无评论...
验证码 换一张
取 消