I also have the sources also in another directory that the project file, I guess that's not the problem.
Don't know, when you debug a program e.g. on another computer.
But if you compile it with -g3 before, it should debug.
Patrick
P.S.
Sometimes GDB seems not to know the breakpoints.
A frequent error is:
when the code is changed without compiling, often the breakpoints are ignored afterwards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my source files are not all in the same directory as my project file. When I run gdb from within Dev-CPP, I get this message (among others):
"no source file named GraphicsComponent.cpp"
How can I fix this without having to redo my directory structure to please Dev-CPP?
I also have the sources also in another directory that the project file, I guess that's not the problem.
Don't know, when you debug a program e.g. on another computer.
But if you compile it with -g3 before, it should debug.
Patrick
P.S.
Sometimes GDB seems not to know the breakpoints.
A frequent error is:
when the code is changed without compiling, often the breakpoints are ignored afterwards.