I don\'t understand this at all, but I can no longer see any locals or ivars when debugging my iPhone app with Xcode 3.2.3. Everything seemed normal until yesterday afternoo
I just had the same problem and it turned out to be which compiler I had set in the project settings. Switched it to GCC 4.2 and they started showing up again.
With Xcode 7.1 appeared the same problem, while I'm not sure, if it really was the update, because I changed the Architecture also to "Universal (32/64bit)" and Valid Architectures to "x86_64 i386" in the Project->Build settings.
Anyway, I checked all advices I could find, but my settings were correct.
Changing the Product->Destination from 32 bit to 64 bit solved. I could also recreate the problem by switching from 64 bit to 32 bit.
In my cases it was the optimisation for debug.
In the build settings Optimization Level was set to Fastest for both Debug and Release. I switched Debug to None and it solved the issue.
Close the project, open Terminal, cd into the <project>.xcodeproj
directory, delete all <username>.*
files (i.e. delete everything except project.pbxproj
), then try opening your project again.
(Note: don't worry about the files you are deleting - they are just per-user setting files for things like window positions, saved breakpoints, etc - the important stuff is all in project.pbxproj
.)
One other thing that has also solved problems for me in the past is to trash the entire build folder.
I upgraded from Xcode 3.2.3 to 3.2.4 and changed the SDK version to 4.1 and this problem went away. Other work arounds didn't work for me.
In my build settings Optimization Level was set to None then also having same issue, For me it resoloved by following step:
1-) select your target near run button on xcode where you select device and simulators.
2-) then go to edit scheme of selected target.
3-) now check in run section that Build Configuration is set to Debug
4-) now check in archive section that Build Configuration is set to Release
in my case archive section was set to Debug, i changed it to release and its works.
refer screenshot: https://i.stack.imgur.com/J6nGI.png