LLDB equivalent to GDB's “info malloc-history
” command?

后端 未结 3 1637
萌比男神i
萌比男神i 2020-12-12 13:55

I am trying to resolve a \"message sent to deallocated instance \" error in iOS.

3条回答
  •  青春惊慌失措
    2020-12-12 14:24

    You used to be able to use the malloc_history command-line tool from a shell and give it the process ID and address of interest. It appears this command is no longer installed by the latest Xcode's command line tools. :-(

提交回复
热议问题