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.
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
Last edited: