Well, I will do what you ask if you still need it for some reason, but I suspect you won't.
I noticed that "somehow" a couple of my .h header and .cpp source files were owned by "root" instead of my username. I am not sure how that happened, but apparently I launched CodeBlocks from a root terminal window before the session that had problems.
For your information... for future reference when people have similar problems... I did a few quick tests and found that breakpoints do not work (for me anyway) if any of the files in the project belong to anyone except the user who launched CodeBlocks. I find this a bit strange, especially in the case where the root super-user launches CodeBlocks, but cannot get breakpoints to work because some of the files do not belong to "root"!!! I am a bit rusty on Linux, but I did not expect this - I though "root" could pretty much "do anything", and therefore any application it launched would also be able to pretty much "do anything". Thus, I am surprised to find this problem in this particular situation.
Frankly, I am not sure why CodeBlocks has a problem in either direction! If it can read all the .h and .cpp files in a project to display in the IDE window (which it does for me in every situation), and can compile an executable that runs (which it does for me in every situation), I do not quite understand why it cannot set breakpoints in the executable file that *it* (CodeBlocks) created.
Anyway, that was my problem, apparently, because I can hit breakpoints now. But I might suggest you have CodeBlocks read the owner of all the project files, and refuse to compile or execute or debug (or something) if any of those files belong to some other user. That would prevent driving poor programmers crazy when the accidentally do something stupid like I did.
PS: So for CodeBlocks is looking good to me. I ported my 3D game/simulation engine to Linux on eclipse, but eclipse has been driving me totally freaking *nuts* with its peculiarities and slower than snot performance. The final straw was their refusal to add (after months of saying they would) an option to the editor to disable automatic indenting (which was driving me crazy!!!). Anyhow, I have high hopes for CodeBlocks. Oh, but I just noticed something. I am at a breakpoint right now, and I cannot seem to find a way to see the value of variables. Pausing the mouse cursor over the variable in the code window just displays the data-type of the variable, not the value, and I cannot find any "variables window". Am I missing something? Or is this very fundamental capability "missing in action"?