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
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.
___
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
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
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