【问题标题】:PLCrashReporter not workingPLCrashReporter 不工作
【发布时间】:2012-05-04 13:48:28
【问题描述】:

我在link 的帮助下集成了 PLCrashReporter 框架。它运行良好。但它不工作。不写入 crash_log 文件。

我使用以下代码强制使我的应用程序崩溃。我还附上了我的应用程序。

   NSMutableArray *myArray=[NSMutableArray new];
   NSLog(@"myARray ho Crash : %@",[myArray objectAtIndex:0]);

SampleCode

知道哪里出错了...

提前致谢
曼迪普

【问题讨论】:

  • 确保您在 Xcode/gdb 之外进行测试,否则,调试器将在调用 PLCrashReporter 的信号处理程序之前捕获 mach 异常。
  • 感谢 Landon 的工作。干得好(Y)

标签: iphone plcrashreporter


【解决方案1】:

[已解决] 请参阅landon fuller 评论

【讨论】:

    【解决方案2】:

    我也为 mac 做过这个,我认为你是 gettign 日志,但在 consol 上,我已经为 Mac 写了 textFile 中的日志......你还需要为 iPhone 应用程序写在某个地方

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多