My breakpoints are not working in XCode4. To fix this in XCode3 I turned off the "Load symbols lazily" option, I can't find a similar option in XCode4...
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
There is no Load Symbols Lazily option in Xcode 4.
The Breakpoints button in the project window toolbar toggles running/debugging your program. Xcode initially sets the button for running, which disables your breakpoints. For your breakpoints to be enabled, the Breakpoints button should look like the following:
回答2:
In earlier Xcode version find Xcode -> Preferences -> Debugging tab. Uncheck Load symbols lazily if checked. It seems to be dropped from Xcode 4. Have a look at this post click here
This worked for me.