Xcode equivalent of ' __asm int 3 / DebugBreak() / Halt?

后端 未结 7 1367
予麋鹿
予麋鹿 2020-12-14 07:51

What\'s the instruction to cause a hard-break in Xcode? For example under Visual Studio I could do \'_asm int 3\' or \'DebugBreak()\'. Under some GCC implementations it\'s a

7条回答
  •  自闭症患者
    2020-12-14 08:28

    I found the following in an Apple Forum:

    Xcode doesn't come with any symbolic breaks built in - but they're quick to add. Go to the breakpoints window and add:

    -[NSException raise]

提交回复
热议问题