User forums > Using Code::Blocks
gdb doesn't find sources ( No source file named...)
Azra:
I've got a problem with the gdb debugger
It tells me, that it can't find the source file, if I try to set a breakpoint
--- Code: ---No source file named L:/CodeBlocks/Projects/Irr_02/Game.h.
Breakpoint 1 ("L:/CodeBlocks/Projects/Irr_02/Game.h:38) pending.
--- End code ---
I've activated debugging symbols in the Compiler Options, whats the problem Oo
Jenna:
Which gdb-version ?
--- Code: ---gdb -v
--- End code ---
I had a similar problem on W2K and XP with gdb 6.5.
I upgraded to 6.6 and everything is ok.
Azra:
6.7.50.20071127
Jenna:
I just saw that you put the breakpoint into a header file, that does not work.
Azra:
Oh :shock:, thanks. :)
But I've got one little question: why? :?
Navigation
[0] Message Index
[#] Next page
Go to full version