Getting a stacktrace on 10.5
Getting a stacktrace on 10.5
- Subject: Getting a stacktrace on 10.5
- From: Gideon King <email@hidden>
- Date: Tue, 16 Feb 2010 10:49:50 +1000
I am building on 10.6 and targeting 10.5 deployment. I pick up exceptions and log the stacktrace using callStackSymbols if it is available (10.6) - this works fine.
On 10.5, if the user has the developer tools installed, I can use the atos command to get the trace, but if they haven't is there any way to get a stacktrace on 10.5? I have tried the backtrace_symbols method, but that doesn't seem to give me anything useful.
Is there some other way of doing this on 10.5?
Are there compile options that would get backtrace_symbols to produce something useful? If so, what would be the impact of using them?
Thanks
Gideon
_______________________________________________
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