开发者

What is the equivalent of Valgrind within the Xcode environment?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜