Stop on Objective-C exception\" menu in Xcode 4? I\'ve used it sometimes in Xcode 3, but it disappeared in the new IDE.In the left side column" />
开发者

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

Maybe somebody knows wh开发者_运维百科ere 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.


In the left side column of xcode 4:

  1. tap on the breakpoint tab (the 6th tab over)
  2. tap on the + button in the bottom left of the window
  3. tap 'add exception breakpoint'
  4. tap 'done' on the popup


See the image It will help,

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

good luck, Naveen Shan


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜