Archive for October, 2008

Crash Reporter for iPhone Applications (Part 2)

Monday, October 20th, 2008
crashDuck.png

In part one I describe how to set up an Exception Handler, Uli discovered as first one that this handles not all cases. The missing part is a signal handler to get information of SIGSEGV, SIGBUS, … signals.

I thought the hard part of this is getting the backtrace inside a signal handler. I already found code for this, but I couldn’t use it because it was GPL. I tried the easy way, offering the author money to release it under public domain, oh boy this was a waste of time. But now that I found my own solution for this I’m happy that I didn’t spend money on this. (1 line versus 20 lines of code)

(more…)

1
 
del.icio.us digg

Crash Reporter for iPhone Applications (Part 1)

Saturday, October 18th, 2008
crashDuck.png

I’m getting ready to send my iPhone Application to the first beta testers and so I started thinking about crash reports.

On the Mac you have two options to get the crash report of your application. The first one is to check on startup if there is a new crash report file in ~/Library/Logs/CrashReporter for your application and simply send it. (Example: HDCrashReporter , UKCrashReporter)

(more…)

9
 
del.icio.us digg