在Xcode环境中,Valgrind等效于什么? [英] What is the equivalent of Valgrind within the Xcode environment?

查看:81
本文介绍了在Xcode环境中,Valgrind等效于什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近建议我使用Valgrind检查我的iPhone项目(主要用C和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).

我对这种工作还很陌生,想知道Xcode中有哪些工具可以达到相同的目的.

I'm fairly new to this kind of work and was wondering what tools there were in Xcode that would serve the same purpose.

非常感谢

推荐答案

如果要检查内存泄漏,则可以使用带有泄漏的性能工具来运行项目.跟随屏幕截图.

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

这篇关于在Xcode环境中,Valgrind等效于什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆