IPhone simulator breakpoints problem

Sometimes I got problem settings breakpoints. I found this solution in apple discussions:
x
As saggymac said:
“The default setting for debugging libraries and frameworks is Load Symbols Lazily. On occasion this causes breakpoints to not be hit. Turning off this setting makes it take longer to start debugging, but hits breakpoints more reliably.”
may be you should set this option OFF… (XCode-Preferences-Debugging)

Tags:

  • http://www.xquant.net/ nicolas

    yep, was the same here.
    once eagerly loaded, the breakpoints would work

  • http://www.xquant.net nicolas

    yep, was the same here.
    once eagerly loaded, the breakpoints would work

  • Murad Juraev

    Thank you for the solution so much! Before I couldn’t force Xcode to stop on breakpoints while running my iPhone app on Simulator.

  • Murad Juraev

    Thank you for the solution so much! Before I couldn’t force Xcode to stop on breakpoints while running my iPhone app on Simulator.

  • Wxw_pr

    However, this is only for xcode 3.
    In xcode 4, there’s no “debugging” under preferences nor can I find keyword “lazy” or “lazily” in project build setting.

    Is there any solution for xcode 4 for this problem?