First, I have to say that Code::Blocks is an amazing tool! Switching from Dev-Cpp was an easy choice.

And to the question. When I run GDB it executes just fine, but once I choose "Run to cursor", it says:
Continuing...
No source file named main.cpp.
error
Program received signal (SIGTRAP)
Trace/breakpoint trap
It doesn't matter which file I choose in my project, it always says that it can't find the specific file.
I use Code::Blocks version
1.0-RC1.
Thanks for your help!