Xcode 4: setting NSZombieEnabled environment variable for all projects?
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 i开发者_开发技巧t in Xcode preferences. (xCode 4)
thanks
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.
精彩评论