标签:str instr bsp tracking mod 调试 target class pos
Here are some tips for finding leaks in our project:
1. 打开Instruments调试工具控制栏, Xcode -> Open Dev Tool -> Instruments
2.选择Leaks工具
3.设置Leaks内选项 选择Leaks, 选择Call Tree
4.Run your App !
5.设置Call Tree 选择Invert Call Tree , Hide System Libraries, 然后选择Leaks的项目 Target为你执行中的App, 点击红色圆圈执行,操作你App, 有红色的柱状就代表有内存泄露。查看对应的代码,解决!
标签:str instr bsp tracking mod 调试 target class pos
原文地址:http://www.cnblogs.com/jzssuanfa/p/6940136.html