Another quick Xcode debugging tip: If you experience “orange breakpoints” when debugging and have verified you’re in debug mode, and have cleaned and rebuilt your target to no avail, try disabling “Load Symbols Lazily” in Xcode’s Debugging preferences panel.

I’ve just completed a 16-hour (off and on) “what the fuck?!” session with Xcode (3 and 4). Specifically, when debugging a specific class, gdb kept telling me, “Unable to access variable…” any time I’d “po” a variable or hover over the symbol in the editor. I blamed plenty of different possible culprits.

Continue reading