How to add Exception Breakpoint in Xcode?

前端 未结 3 1395
孤城傲影
孤城傲影 2020-11-21 06:22

How to add Exception Breakpoint in Xcode?

int main(int argc, char *argv[]) {

    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    int retVal         


        
相关标签:
3条回答
  • 2020-11-21 06:36

    Here are the steps.

    • Move to "Breakpoint Navigator".

    • Click + symbol at bottom-left corner of navigator.

    enter image description here

    • You should see this.

    enter image description here

    0 讨论(0)
  • 2020-11-21 06:43

    Follow these steps:

    • In Xcode move to Breakpoint navigator (use command+8 in Xcode 11)
    • Click on the + option at the left bottom of the navigator and select Exception breakpoint.

    • An exception breakpoint will be immediately added to the Breakpoint list in the Breakpoint navigator
    • you can then edit additional Breakpoint Setting's as shown below.

    0 讨论(0)
  • 2020-11-21 06:58

    You can easily add Exception Breakpoint in Xcode. See below image:

    enter image description here

    0 讨论(0)
提交回复
热议问题