ios--Settings for global breakpoints

Source: Internet
Author: User

Posted @ 2016-09-27 15:33 yards feng wo

Breakpoint debugging, is the most commonly used the simplest kind of debugging, can step by step tracking program execution process, get the value of the variable, quickly find the cause of the error.

Stealing a Picture: basic button action.

Normal breakpoints do not introduce, set a global breakpoint (Exception breakpoint), when encountering an error, the debug program will automatically navigate to the bottom of the stack information, that is, jump to the line of error code.

Click on a blank place to complete the global breakpoint settings.

Conditional breakpoint: Sets a conditional breakpoint that triggers a breakpoint when the condition is met, suitable for use in a loop structure, and can be accurately positioned to a loop

Symbol Breakpoint:

The dynamic output instructions are two, p and Po, similar to NSLog usage, p is used to print out general information, and PO is used to print out object information. The use of dynamic directives is used in conjunction with breakpoints, which enables the dynamic printing of information when the output program executes to a breakpoint.

ios--Settings for global breakpoints

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.