Many a times I get the error “EXC_BAD_ACCESS” and my application terminates and I am not able to find because of what I get this error, until I debug my application step by step (which is very time consuming and tedious).
Can anyone help me in this.
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.
When your application terminates because of EXC_BAD_ACCESS, it’s not an exception really. It’s just that some code is referring to an object in memory which no longer exists at that particular memory address, so it will terminate immediately.
Please read the Apple Docs on Memory Management, and some of the very many tutorials available about this.