Xcode 4:为所有项目设置 NSZombieEnabled 环境变量?
在环境变量中设置 NSZombieEnabled = YES 对于调试 BAD MEMORY ACCESS 问题非常有用。
但是我需要为所有项目设置它。我想知道是否可以在 Xcode 首选项中设置它。 (xCode 4)
谢谢
Setting NSZombieEnabled = YES in the Environment variables is very useful to debug BAD MEMORY ACCESS issues.
However I need to set it for all projects. I was wondering if I can just set it in Xcode preferences. (xCode 4)
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看以下 uri:
为用户进程设置环境变量: http: //developer.apple.com/library/mac/#qa/qa1067/_index.html
运行时配置指南#环境变量:http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html< /a>
注意:需要注销/登录才能生效。
Have a look at following uris:
Setting environment variables for user processes: http://developer.apple.com/library/mac/#qa/qa1067/_index.html
Runtime Configuration Guide#Environment Variables: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html
Note: you need to logout/login to make it effective.