开发者

iPhone + exception

开发者 https://www.devze.com 2022-12-10 02:34 出处:网络
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 (whic

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消