I've been having the same problem since last week, and all I've done is install nightlies.
MinGW 5.0.3
- gcc 3.4.2 (should I get 3.4.5 candidate?)
- gdb 6.3
CodeBlocks Version 1.0 revision 2918 () gcc 3.4.5 Windows/unicode
I created two console application projects (test & test2), and now breakpoints seem to work for these projects (don't know why they didn't work before).
I still get "no source file named x" warnings from all projects with breakpoints which I have opened since codeblocks started (even closed ones!), and I have to open these projects, remove breakpoints, and the warnings are gone.
Simple example with 2 console application -projects both with one breakpoint.
Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: C:\CodeBlocks\user\temp\test2\
Adding source dir: C:\CodeBlocks\user\temp\test2\
Adding file: .\test2.exe
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3
No source file named C:/CodeBlocks/user/temp/test/main.cpp.
Breakpoint 1 (C:/CodeBlocks/user/temp/test/main.cpp:5) pending.
At C:/CodeBlocks/user/temp/test2/main.cpp:5
Debugger finished with status 0