Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

larswik

macrumors 68000
Original poster
Sep 8, 2006
1,552
11
Hey, I have a problem and I can not explain why it is not displaying the correct results. I am hoping it is some preference setting that was accidentally hit causing it to display the wrong information or other information. I included a photo showing the results.

I declared an int and then tried to initialize it to the value of 20. In the photo you can see that I step through the code in initialize it. Then I NSLog the result which is correct. But in the area, lower left, where I should see the results of variable values I was expecting to see the tagIdNum = 20. But instead it says that it is equal to 1?

Can anyone shed some light on this for me?

RESOLVED: A friend stopped by tonight and we looked it over together. We switched the debugger from LLDB to GDB and now it gives the correct results to the values in the debugging window.
 

Attachments

  • tagIdNum.jpg
    tagIdNum.jpg
    146.7 KB · Views: 95
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.