问题
When I place a breakpoint on a line in XCode 4, and it stops at that breakpoint, it doesn't show the line that is highlighted initially or when I step. This only happens once--when I initially open XCode. It will show the line, and then every run after that it won't.
Any ideas how to bring it back? It's XCode 4.0.2. I've read a lot about XCode being broken, and I've experienced that too, but is there anything I can do?
Edit: I've also tried reinstalling XCode from a fresh download.
回答1:
Fixed the issue by deleting XCode and reinstalling. Just updating to the newer version would not fix it.
回答2:
Unfolding All the code and restarting xcode solved my problem. Irtaza
回答3:
debug -> debug Workflow -> always show Disassembly (uncheck).
This works for me
来源:https://stackoverflow.com/questions/6333457/xcode-4-not-showing-line-that-debugger-is-stopped-on