ios - NSNumber in NSDictionary is always null -


i'm building project , want add nsnumber nsdictionary. crashed because of null value. so, created small program check happened. can see in snapshot: why the value of nsnumber in nsdictionary null?the snapshot of breakpoint

i've run code , reproduce problem. seems debugger problem. instance, if after dictionary created, go console , try printing dictionary.

po dictionary 

my result like:

$4 = 0x2083e770 {     number = 1; } 

so it's not null @ all. also, after that, anum assigned correctly , b set yes. looks debugger issue instead of bug you.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -