KeshaviPhone / plcrashreporter

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

Crash log not appearing in Xcode4 organizer or only one appear #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make an iPhone app crash and acquire logs (by mail using 
PLCrashReportTextFormatter formatReport)
2. Drag'n'drop the first crash log received by mail (symbolication is ok, if 
you let time to spotlight to index dSYM)
3. Drag'n'drop a second crash log (it would not appear in the list)

What is the expected output? What do you see instead?
Expected having all logs in the organizer

What version of the product are you using? On what operating system?
r381 patched with previously sended path (issue #15)

Please provide any additional information below.

For correcting this point, i took two other "Incident Identifier" in Apple made 
logs, and put them in my two logs received by mail. Then they both appeared in 
the organizer.
As [TODO] is currently used, the log may have the same id, so Xcode show only 
one of them (the first added if spotlight is OK, or the last one after a 
restart of Xcode).
By setting a random number as the Incident Identifier, both logs appeared.

So I just replaced (PLCrashReportTextFormatter:106) :
    [text appendFormat: @"Incident Identifier: [TODO]\n"];
with
    CFUUIDRef   uuid;
    CFStringRef uuidStr;
    uuid = CFUUIDCreate(NULL);
    uuidStr = CFUUIDCreateString(NULL, uuid);
    [text appendFormat: @"Incident Identifier: %@\n", uuidStr];
    CFRelease(uuidStr);
    CFRelease(uuid);

Original issue reported on code.google.com by richard....@gmail.com on 10 May 2011 at 7:05

GoogleCodeExporter commented 9 years ago

Original comment by landon.j.fuller@gmail.com on 10 May 2011 at 2:23

GoogleCodeExporter commented 9 years ago

Original comment by landon.j.fuller@gmail.com on 21 Sep 2011 at 8:27