Leaks Instruments, IOS Xcode

Source: Internet
Author: User

1. Create Project

2. Load Source code

3. Connect iphone or virtual machine, select App

4. Open Developer Tool, Instruments, Xcode

3.1 Open Allocations (page contains: Allocations, VM Tracker)

3.2 Right "+", select Leaks

5. Open the page, stay for a while, and then test the next page with the green, red, or gray symbols appearing on the chart

6. Click on the image on the red match, details, select "Cycles & Roots", click on the right Strack Trace, and the method on the left, navigate to the specific code

7. After troubleshooting, the detection code

Leaks Instruments, IOS Xcode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.