Xcode Global breakpoint, xcode global

Source: Internet
Author: User

Xcode Global breakpoint, xcode global

1. switch the navigator View to the breakpoint navigator view. You can also use the shortcut key "Command + 7". The keyboard is a window-style USER Command key, which is a win key (with Microsoft logo ), click + in the lower left corner and select Add Symbolic Breakpoint.

2. after the edit box appears, Enter-[NSException raise] In the Symbol option bar. Make sure that the input is correct and Enter, click other areas outside the editing box and click OK (The done option is not available in Xcode6.4)

3. The steps for adding objc_exception_throw are the same as those in the previous step. If a spelling error occurs, right-click and select Edit Breakpoint to re-Edit it.

4. The following figure shows the code compilation error after running (Command + R). Here, our Global breakpoint is over!

 

One day, when you debug the code, the editor area will always stay in a bunch of zhuyun stuff, instead of stopping at the error code as shown above, you may not be able to find the options in the menu again and again, so let this interface appear in front of you again and again, the answer is naturally no.

The solution is to uncheck Debug Workflow> Always Show Disassembly under the Debug option!

Related Article

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.