1. 程式人生 > >Instruments的Leaks檢測記憶體洩漏

Instruments的Leaks檢測記憶體洩漏

一,使用Leaks開啟APP,操作APP;




二,配置Leaks;


在Leaks欄目下選擇Cycles & Roots和Call Tree進行分析;


1,Cycles & Roots;




2,Call Tree;


,雙擊堆疊資訊直接定位到程式碼;