开发者

Xcode analyzer "efficiency"

I spent 1 hour on solving a bug: i was releasing an object that I didn't have ownership (ie I didn't send it copy, alloc, n开发者_JAVA百科ew). The analyzer (Cmd-Shif-A) didn't detect that error while it can detect an object that hasn't been released.

I think it's not normal, is it a bug or a "missing functionality"?


Static analysis is not magic; there are many limitations and the analyser that Xcode uses is a work in progress. It is there only as an aid, it can't totally debug your application for you.

If you think you have come across a case where you think the analyser could have found the problem, then report a bug.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜