6

I had integrated PLCrashReporter framework with help this link. It running fine. But its not working. Not writing crash_log files.

I Used following code for forcefully crash my application. And I also attached my app.

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

SampleCode

Any idea where going wrong...

Thanks in advance
Mandeep

Community
  • 1
  • 1
mandeep-dhiman
  • 2,505
  • 2
  • 21
  • 31
  • 7
    Make sure you're testing outside of Xcode/gdb, as otherwise, the debugger will catch the mach exception before PLCrashReporter's signal handlers are invoked. – landonf Oct 13 '11 at 21:22

2 Answers2

1

i had also done this for mac i think you are gettign Log but on consol ,I had write the Log in textFile for Mac ...You need to also write it somewhere for iPhone Application

1

Courtesy of @landonf:

Make sure you're testing outside of Xcode/gdb, as otherwise, the debugger will catch the mach exception before PLCrashReporter's signal handlers are invoked.

starball
  • 20,030
  • 7
  • 43
  • 238
mandeep-dhiman
  • 2,505
  • 2
  • 21
  • 31