KeshaviPhone / plcrashreporter

Automatically exported from code.google.com/p/plcrashreporter
Other
0 stars 0 forks source link

Need ability to load crash report in simulator #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run application
2. Crash application
3. Observe console output from PLCrashReporter stating,  "Could not load crash 
report…The operation couldn’t be completed. No such file or directory"

What is the expected output? What do you see instead?
When an iOS app crashes in the simulator, and it is relaunched, instead of 
printing crash information to the Console, it prints an error message.

What version of the product are you using? On what operating system?
1.0.1 on iOS 4.0 simulator

Please provide any additional information below.
When the application crashes, the simulator prints a brief description of the 
crash to the Console.  The full crash log is saved to 
~/Library/Logs/DiagnosticReports.  PLCrashReporter is looking for a crash log 
saved inside of the iOS Simulator environment.  It fails and generates an error 
message because there are no crash logs saved inside of the simulator's 
directory structure.

Original issue reported on code.google.com by mile...@gmail.com on 1 Aug 2011 at 11:03

GoogleCodeExporter commented 9 years ago
Sorry - this was a bit of oversight on my point.  The example code doesn't call 
enableCrashReporter.  I initially thought it was supposed to parse Apple's 
crash reports, instead of writing its own reports.  You can go ahead and close 
this out.

Original comment by mile...@gmail.com on 1 Aug 2011 at 11:23

GoogleCodeExporter commented 9 years ago

Original comment by landon.j.fuller@gmail.com on 13 Sep 2011 at 9:33