No exception stacktrace in console under Xcode 4.2/iOS 5?

前端 未结 3 1594
礼貌的吻别
礼貌的吻别 2020-11-22 11:46

Under Xcode 3.x and iOS 4, if an unhandled exception is signaled in the emulator there is an exception stack trace (similar to Java\'s) produced in the console output.

<
3条回答
  •  借酒劲吻你
    2020-11-22 12:01

    This is a known problem... for workarounds see here and here.

    Another option might be to

    defaults write NSGlobalDomain NSExceptionHandlingMask 63
    

    Although it is usually for OSX it might help when using the emulator - I can't try it right now though :-(

提交回复
热议问题