Re: How to get source name/line number of backtrace?
Re: How to get source name/line number of backtrace?
- Subject: Re: How to get source name/line number of backtrace?
- From: Jens Alfke <email@hidden>
- Date: Wed, 4 Nov 2009 11:53:11 -0800
On Nov 4, 2009, at 11:20 AM, Charlie Dickman wrote:
There are standard predefined macros that, among other things, give
you the name of the source file. Use " __FILE__" (that's 2 underbars
in front and 2 underbars in back).
That gives you the name of the current source file being compiled. The
question is how to get the name of the source file that contains an
arbitrary symbol (function pointer) at runtime. Completely different
thing.
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden