How to add Exception Breakpoint in Xcode?

前端 未结 3 1397
孤城傲影
孤城傲影 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: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.

提交回复
热议问题