Random EXC_BAD_ACCESS in a place that it cannot happen

前端 未结 1 1384
醉话见心
醉话见心 2020-12-12 04:58

I\'m receiving EXC_BAD_ACCESS at random times in a place that I confirmed the exception should not happen.
The line its happening on is

`[[LevelEditorSce         


        
相关标签:
1条回答
  • 2020-12-12 05:38

    The line of code that your app crashes on might not be the cause of the problem. Most likely your method call is fine. Otherwise you'd receive a "message sent to unrecognised selector" error.

    The best steps are to run the Analyzer. Failing that Profile using Leaks in Instruments.

    A brilliant description on EXC_BAD_ACCESS, what causes it, and how to debug it can be found here:

    Lou Franco's Understanding EXC_BAD_ACCESS

    0 讨论(0)
提交回复
热议问题