PDA

View Full Version : debugger stopped seeing variables




BRLara
Sep 3, 2012, 04:34 PM
Hello. Maybe you can help me with this XCode issue.

I've been struggling today. Last night debugger stopped seeing variables. Would work .. but could not see the objects as I stepped through.
I rebuild the project (from scatch then copies over file...)

Today. Much worse, now it is skipping break points. Especially once I go past Facebook login back into my code ... all of a sudden , no threads ,, and no stopping.

CAN YOU HELP ?

Any clue as to how to get XCode to recognize breakpoints ...



Duncan C
Sep 3, 2012, 05:49 PM
Hello. Maybe you can help me with this XCode issue.

I've been struggling today. Last night debugger stopped seeing variables. Would work .. but could not see the objects as I stepped through.
I rebuild the project (from scatch then copies over file...)

Today. Much worse, now it is skipping break points. Especially once I go past Facebook login back into my code ... all of a sudden , no threads ,, and no stopping.

CAN YOU HELP ?

Any clue as to how to get XCode to recognize breakpoints ...

Xcode is flaky these days. Try quitting Xcode and relaunching it.

If you're running against a release build then breakpoints don't work as you'd expect due to code optimization. Make sure you're using your debug scheme, and that it is set up in the scheme to run and test a debug version.