I'm running Xcode 2.4.1
I have an odd breakpoint problem that I have not seen written about. I can set breakpoints no problem, my program will break correctly. My problem is when I run my program again, though the breakpoints appear marked correctly in the UI and in the breakpoint window, none of the breakpoints break. Going to the command-line GDB (GNU debugger) via <Option><Apple> (must be in the debugger window) I type in "break info" and it reports no breakpoints!
Don't know what happened in my environment for this to start occuring but it is very inconvenient to re-enter all my breakpoints on each invocation. I hope I find the problem soon.
Update: I found the "Stop on Debugger()/DebugStr()" command in the Debug window. This will save me, for now, allowing me to break inside some initialization code which runs before I get a chance to set breakpoints. I just insert a Debugger(); call in the code where I want to "break".
Update: Today, Aug 26, 2008, "xcode breakpoint" is appearing at #1 in Google. In case you aren't reading the comments to this post, Aaron's suggestion:
"In xcode go to Preferences, select the page for Debugging then make sure "Load symbols lazily" is NOT selected"
seems to fix many of the breakpoint issues for most people. It didn't address my particular issue that I described in the post (I think my project has gotten corrupted or something), but it did help me in other instances.