New version CMCrashReporter [update]

I’ve just uploaded a new version of CMCrashReporter.

There is just one little change in the nib file that prevent users of resizing the window.

CMCrashReporter is a free and open-source framework written in Cocoa which developers can stick in their applications to allow the user to easily send a crashlog back to the developer.

More info

Update:
2 September 2009: I’ve just released a new version of CMCrashReporter, fixing a small issue with GC.

Comments

  1. ytwig
    October 7th, 2009 | 10:59 am

    Thanks for sharing your work.

    i did however encountered 2 defects:

    1. in function – (IBAction)submitData:(id)sender
    in class CMCrashReporterWindow:

    if user defined a max of files to send in the info.pilst, then he will get a index array out of bounds.

    you should init max like this:

    int max = MIN([CMCrashReporterGlobal numberOfMaximumReports],[paths count]);

    2. i found that the response comming from server was “ok ” with an extra space, not sure why (i used your php file – no changes)

    the fix for that without trying to understand too much was:

    NSString *res = [[[NSString alloc] initWithData:result encoding:NSASCIIStringEncoding] autorelease];
    NSString *compare = [res stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
    return ([compare isEqualToString:@"ok"]);

    Also, you used isEqual and not isEqualToString.

    Thats it for now, thanks again for sharing.
    will use it in my software :)

  2. October 9th, 2009 | 11:40 am

    Hi ytwig,

    Thanks for your comments,

    I will add your comments to the next version of CMCrashReporter.

Leave a reply



Categories