IPhone development tips URL Scheme startup process debugging tutorial

Source: Internet
Author: User

IPhoneDevelopment skillsURL SchemeStartProcessThis document describes the debugging tutorial.URL SchemeStartProcessLet's just look at the details.

Some applications need to passURL schemeBut Xcode can only debug the program started by Xcode for the first time. Is there a way to debug the program started by URL scheme?

This section describes how to connect a started program for debugging.

First, append the following code to applicationDidFinishLaunching:

Here, we simply let the program enter an infinite loop. Then, start the program on the device. At this time, there is only a black screen, and then connect the device with Xcode.

Select the program "ProcessAtach" and "execute> connection process> ProcessAtach 」. Click "pause" in the debugger to execute the program. If you do not stop the program for a long time, the system stops the program, so pay attention to the pause time.) Click zoom in)

The interrupted point is the place where the infinite loop is just now, and then it can be replaced with a breakpoint. Click to zoom in)

Then, change the value of the stop parameter from YES to NO, and click Continue to debug the program normally.

Summary:IPhoneDevelopment skillsURL SchemeStartProcessThe content of the debugging tutorial is complete. I hope this article will help you!

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.