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 PM, Joseph Kelly wrote:

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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list ([EMAIL PROTECTED] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/robert.m.a.bell%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to