Re: Stack Trace Using Google Toolbox for Mac
Re: Stack Trace Using Google Toolbox for Mac
- Subject: Re: Stack Trace Using Google Toolbox for Mac
- From: Andreas Grosam <email@hidden>
- Date: Fri, 6 Feb 2009 13:04:38 +0100
On Feb 6, 2009, at 11:44 AM, Oleg Krupnov wrote:
I've just tried to use some code from the Google Toolbox for Mac
(http://code.google.com/p/google-toolbox-for-mac/) for capturing stack
trace, and it works great! I get the human-readable names of the Cocoa
classes and methods.
It gives human-readable output both in Debug and Release
configurations, and even on other machines than mine.
I wonder however how is this possible that it works in the Release
configuration, where all debugging information is supposed to be
stripped?
Depending on your build settings for your Release build, there may be
debugging symbols available:
Precondition: Code Generation -> Generate Debug Symbols is checked,
either in a separate file or they are included in the image (Build
Options -> Debug Information Format )
Note that the default project settings are such that a Release build
is not automatically identical to that what your customer sees as a
Software product. In fact, you are still in a "development stage":
your products from a Release build are located in the "build" folder,
with possibly all debugging symbols available. This is a good thing,
since you should debug/test your release build as well.
What your customer will get finally, should be controlled by the
"Deployment Settings". I would suggest to read the related documentation
"Xcode Project Management Guide", section "Building for Release".
Or does it use some other kind of "reflection", specific to
Cocoa, that does not need the symbols?
This could be the case, since there is introspection.
I'd appreciate a clarification,
because I began to worry that I may have messed up some build settings
of my project, so that the debug symbols leak to the release build.
Thanks!
Regards
Andreas
_______________________________________________
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