• 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: Xcode 5 Debugger, local NSInteger variables always 0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 5 Debugger, local NSInteger variables always 0


  • Subject: Re: Xcode 5 Debugger, local NSInteger variables always 0
  • From: Markus Spoettl <email@hidden>
  • Date: Tue, 01 Oct 2013 22:24:36 +0200

On 10/1/13 9:17 PM, Markus Spoettl wrote:
   in Xcode 5 the debugger fails to evaluate local NSInteger variables in the
variables view correctly. Instead of the correct value it always displays 0.
When printing the variable to the debugger console (via context menu), the
output is correct.

This started in the beta a couple of builds back. Since it never came up here,
I'm wondering if there's a project setting that influences integer evaluation.
I'm building an iOS7 app and this happens when debugging on the simulator and
the device. Not doing OSX development with Xcode 5, so can't tell if that's
affected as well.

Any ideas?

Just figured it out: I had a "Summary Format" set on that value type, it was set to "0". Clearing the summary format brings back the integers. Yay!

I cannot recall doing it but I must have put that in there accidentially.

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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: 
 >Xcode 5 Debugger, local NSInteger variables always 0 (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Unit Test code coverage with Xcode 5
  • Next by Date: 10.8.5 + Xcode 5, and nibs/xibs containing QTMovieViews
  • Previous by thread: Re: Xcode 5 Debugger, local NSInteger variables always 0
  • Next by thread: Unit Test code coverage with Xcode 5
  • Index(es):
    • Date
    • Thread