“Run > Stop on Objective-C exception” in Xcode 4?

后端 未结 3 670
轮回少年
轮回少年 2020-11-22 02:15

Maybe somebody knows where is the \"Run > Stop on Objective-C exception\" menu in Xcode 4? I\'ve used it sometimes in Xcode 3, but it disappeared in the new IDE.

3条回答
  •  别跟我提以往
    2020-11-22 03:01

    Someone else told me this, and I'm adding it here so I can favorite this question and have a useful reference to look back on.

    Set the objc exception breakpoint action to po $eax and you'll usually get the handy-dandy exception message right there in the debugger window when it breaks.

提交回复
热议问题