• 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
XCode debugger does not show values for static __thread local variables in C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode debugger does not show values for static __thread local variables in C


  • Subject: XCode debugger does not show values for static __thread local variables in C
  • From: "Johann 'Myrkraverk' Oskarsson" <email@hidden>
  • Date: Tue, 23 Feb 2016 03:21:58 +0800

Hello XCode Users,

As far as I can tell, when I step through a function with static
__thread modifiers. XCode does not show the value of those variables.

In particular, when I step into this function

  int baz(){
      static __thread int i = 0;
      return ++i;
  }

it does not show me the value of i.  Is this a bug in XCode, lldb, or something
I need to configure?

--
Johann

 I'm not from the internet, I just work there.
 _______________________________________________
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


  • Follow-Ups:
    • Re: XCode debugger does not show values for static __thread local variables in C
      • From: Kate Stone <email@hidden>
  • Prev by Date: Re: Xcode and distribution certificates
  • Next by Date: Re: Xcode and distribution certificates
  • Previous by thread: Re: Xcode and distribution certificates
  • Next by thread: Re: XCode debugger does not show values for static __thread local variables in C
  • Index(es):
    • Date
    • Thread