Re: Start traces with CrashReporter

2009-01-23 Thread Scott Ribe
> Yes, that is my thought too. Now I just have to wait for a crash ;-) And that's why my app contains this gem: - (IBAction) crashNow: (id) sender { *(char*)0=0; } -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice __

Re: Start traces with CrashReporter

2009-01-23 Thread Jules Colding
On 23/01/2009, at 20.33, Jean-Daniel Dupas wrote: OK, this does not contains as much info as you want. depending your need, you may activate core dump generation. So you will be able to launch gdb on the dump to retreive the info you need. http://developer.apple.com/technotes/tn2004/tn2124

Re: Start traces with CrashReporter

2009-01-23 Thread Jean-Daniel Dupas
OK, this does not contains as much info as you want. depending your need, you may activate core dump generation. So you will be able to launch gdb on the dump to retreive the info you need. http://developer.apple.com/technotes/tn2004/tn2124.html#SECCOREDUMPS Le 23 janv. 09 à 20:18, Jean-Dan

Re: Start traces with CrashReporter

2009-01-23 Thread Jean-Daniel Dupas
It already does it if debug symbols are available. For example: 3 libnspr.4.dylib 0x00090636 PR_CreateFileMap + 0 (prmmap.c:52) 4 libnss.3.dylib 0x002b9601 PK11_GetInternalKeySlot + 74 (pk11slot.c:1659) 5 org.shadowlab.MyLibrary 0x00052b5f -

Start traces with CrashReporter

2009-01-23 Thread Jules Colding
Hi, Is there any way to make CrashReporter show stack frame content and line numbers instead of signatures and offsets? Maybe a way to make gdb automatically attach to crashing processes and do a "t a a bt f" on them? Thanks, jules ___ Cocoa