• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Generate back trace programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generate back trace programmatically?


  • Subject: Re: Generate back trace programmatically?
  • From: Robert Bell <email@hidden>
  • Date: Tue, 12 Aug 2008 17:03:12 -0700


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@hidden )
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Generate back trace programmatically? (From: Joseph Kelly <email@hidden>)

  • Prev by Date: Re: Programmatically place cursor within NSTextField
  • Next by Date: how to implement the auto-complement function like Xcode 3.x?
  • Previous by thread: Re: Generate back trace programmatically?
  • Next by thread: Cocoaheads Lake Forest will be an NSCoder-style get together at a DIFFERENT meeting place tomorrow
  • Index(es):
    • Date
    • Thread