User forums > Help
GDB Breakpoints not working
(1/1)
crzysdrs:
Now I know you have probably heard this before but I am getting "No Source file named X". So, I basically can't use breakpoints. I dug all through out this forum and found solutions that usually said use gdb 6.3. I can gaurentee that those files exist.
--- Code: ---Debugger name and version: GNU gdb 6.4
No source file named /home/crzysdrs/eporg_codebase/main.cpp.
Breakpoint 1 (/home/crzysdrs/eporg_codebase/main.cpp:40) pending.
No source file named /home/crzysdrs/eporg_codebase/main.cpp.
Breakpoint 2 (/home/crzysdrs/eporg_codebase/main.cpp:29) pending.
In main () ()
--- End code ---
So I downgraded and yet I still see the same result.
--- Code: ---Debugger name and version: GNU gdb 6.3
No source file named /home/crzysdrs/eporg_codebase/main.cpp.
Breakpoint 1 (/home/crzysdrs/eporg_codebase/main.cpp:40) pending.
No source file named /home/crzysdrs/eporg_codebase/main.cpp.
Breakpoint 2 (/home/crzysdrs/eporg_codebase/main.cpp:38) pending.
--- End code ---
Running Gentoo Linux, SVN download as of earlier today.
mandrav:
I suppose you have enabled compiling with debug symbols for your projects and have cleanly rebuilt your projects at least once?
crzysdrs:
Thank you very much. I knew it was something obvious I was missing. I really appreciate it, it is quite difficult to debug things when you cannot step through them.
Navigation
[0] Message Index
Go to full version