开发者

iPhone + exception

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜