Objective-C “message sent to deallocated instance 0x5633b0”

后端 未结 7 1905
我寻月下人不归
我寻月下人不归 2020-12-12 14:07

I appear to have some overzealous releasing going on in my obj-C app - getting error message

\"-[myobj release]: message sent to deallocated instance

7条回答
  •  北海茫月
    2020-12-12 14:39

    you can also add these to environment variables:
    MallocStackLoggingNoCompact 1

    and write in the gdb console:
    info malloc-history

    Reference: here

提交回复
热议问题