• 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: How to get source name/line number of backtrace?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to get source name/line number of backtrace? (From: Samuel DELMONT <email@hidden>)
 >Re: How to get source name/line number of backtrace? (From: Jens Alfke <email@hidden>)
 >Re: How to get source name/line number of backtrace? (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: Breakpoint bubbles
  • Next by Date: Re: Help with ToolBar Item
  • Previous by thread: Re: How to get source name/line number of backtrace?
  • Next by thread: Quick Navigation
  • Index(es):
    • Date
    • Thread