关于Instruments
来源:互联网 发布:网站数据库抓取 编辑:程序博客网 时间:2024/06/12 00:41
1.先打开Instrument 选择 Leak
2.运行项目,由于Leak是动态监测的,需要我们边手动操作APP,边观察Leaks 的变化,如果不出意外的话,你会发现一堆的红点~
3.监测到泄漏后,暂停运行
4.选择Cell Tree 模式 设定筛选类型 Invert Call Tree 和 Hide System Libraries
5.如果你是第一次用,那么恭喜你,上面走完之后,你就可以看到一堆的内存泄漏指向,不懂?不要紧~接下来设定Xcode -> Build Settings -> Build Options -> Debug Information Format 的Debug值改为 DWAFR with dSYM.
6.重新运行Leak,再走完这上面的第4步,你就可以看到那些泄漏的方法名,位置,等等信息了.双击你要查看的那个cell,就会自动跳转到对应代码的地方咯~
7.嗯,泄漏的地方找到了,然......
ps:附上大致的一些操作图片
阅读全文
0 0
- 关于Instruments
- 关于Instruments跟踪分析app
- instruments
- Instruments
- Instruments
- 关于xcode Instruments的简单使用
- 关于使用Xcode和Instruments调试
- 关于Instruments-Leaks工具的归纳总结
- iOS-Main -关于Instruments-Leaks工具的归纳总结
- Instruments使用
- Instruments 使用
- instruments 教程
- Instruments 工作流
- Instruments概览
- Instruments使用
- Texas Instruments
- Instruments概述
- iOS instruments
- Spring Data Redis提供的几种序列化的比较
- 2017-11-4离线赛总结(NOIP七连测第二场)
- 【Androrid笔记】android studio签名
- 8 OF 100DAYS
- react学习之路(2.1)----数据传递(state,props(父级向子级传递数据))
- 关于Instruments
- ARC 070
- C 预处理器
- java 结合FusionCharts使用
- Can't locate ExtUtils/MakeMaker.pm in @INC
- TCP/IP协议三次握手与四次握手流程解析
- R-read.table读取文本文件的一个错误
- spring04 注解
- W