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.
Buggered Debugger
Since my Twitter complaint about gdb under Xcode suddenly refusing to let me examine symbols, I’ve gotten a lot of search hits on my site for the “unable to access variable xcode” key phrase for my post titled “Unrolled Loops, the Debugger, & YOU“. I figured I’d share a more complete post on the subject of buggered debuggers for the most common causes.
Continue readingUnrolled Loops, the Debugger, and YOU
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