• 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: LLDB and NSLocalizedString()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LLDB and NSLocalizedString()


  • Subject: Re: LLDB and NSLocalizedString()
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 29 Sep 2015 09:22:43 -0700


On Sep 29, 2015, at 8:53 AM, Alex Zavatone <email@hidden> wrote:

I just keep getting 
error: use of undeclared identifier 'NSLocalizedString',
when trying p, po, expr

NSLocalizedString is a macro, not a function, and LLDB doesn’t know about macros.

NSBundle.h:
#define NSLocalizedString(key, comment) \
    [[NSBundle mainBundle] localizedStringForKey:(key) value:@"" table:nil]

—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: 
 >LLDB and NSLocalizedString() (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: LLDB and NSLocalizedString()
  • Next by Date: Re: LLDB and NSLocalizedString()
  • Previous by thread: Re: LLDB and NSLocalizedString()
  • Next by thread: System Integrity Protection - can't debug pref pane
  • Index(es):
    • Date
    • Thread