Re: Generate back trace programmatically?

2008-08-13 Thread Robert Bell
Hmm, could you generate an exception then look at the back trace in the handler? There is some documentation for backtrace handling in Exception Programming Topics for Cocoa under Printing Symbolic Stack Traces ... Perhaps there are other ways too ... Robert. On Aug 12, 2008, at 4:28

Generate back trace programmatically?

2008-08-12 Thread Joseph Kelly
Hello, is there a known reliable way to generate a back trace from the current point in a given thread's call stack? Like some kind of: +(NSString*)getCurrentStackTraceInCRDelimitedString; That would be pretty cool. Thanks in advance! Joe K. ___

Re: Generate back trace programmatically?

2008-08-12 Thread Nick Zitzmann
On Aug 12, 2008, at 5:28 PM, Joseph Kelly wrote: is there a known reliable way to generate a back trace from the current point in a given thread's call stack? Yes. (Hint: See the NSException documentation in Leopard, and the ExceptionHandling framework in Tiger and earlier.) Nick

Re: Generate back trace programmatically?

2008-08-12 Thread Jean-Daniel Dupas
Le 13 août 08 à 01:34, Nick Zitzmann a écrit : On Aug 12, 2008, at 5:28 PM, Joseph Kelly wrote: is there a known reliable way to generate a back trace from the current point in a given thread's call stack? Yes. (Hint: See the NSException documentation in Leopard, and the

Re: Generate back trace programmatically?

2008-08-12 Thread Torsten Curdt
On Aug 13, 2008, at 01:34, Nick Zitzmann wrote: On Aug 12, 2008, at 5:28 PM, Joseph Kelly wrote: is there a known reliable way to generate a back trace from the current point in a given thread's call stack? Yes. (Hint: See the NSException documentation in Leopard, and the