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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.