Up until pretty recently I've been able to use debug breakpoints without problems in the nightly builds. However, recently any breakpoint I place is simply ignored by gdb, and I see the message "No source file named C:/dev/poke/pokepoke/gui.cpp." in the debug log. Obviously this file exists, because I'm editing it when this message appears, but it happens with any source file that I try to debug (in the project I'm working on, at least. I haven't tried others yet).
Hmmm... it works for me. Are you sure you haven't fogotten to add the debugger switches for compiling? Did you try a full re-compile?
With regards, Morten.
Besides what MortenMacFly mentons above,you might have to check out the gdb version (6.3?) and the precompiled header settings of your project. I came across a similar problems before and solved it by changing 1 of those two things (not sure which of the two actually made the difference...)) :D
Debugging switches are on, a full rebuild didn't make a difference and I'm using gdb 5.2.1. I can't even find how to do anything with PCH, do I figure that's not affecting me.
Quote from: Revvy on June 16, 2006, 11:40:09 PM
I'm using gdb 5.2.1.
Hello,
That's the problem. Download from MinGW GDB 6.3.
Best wishes,
Michael
Quote from: Michael on June 16, 2006, 11:43:29 PM
Quote from: Revvy on June 16, 2006, 11:40:09 PM
I'm using gdb 5.2.1.
Hello,
That's the problem. Download from MinGW GDB 6.3.
Best wishes,
Michael
You're right, this did fix it. Thanks a lot! Now, could you explain the reason why? =P
Quote from: Revvy on June 17, 2006, 03:16:55 PM
Now, could you explain the reason why? =P
Hello,
May be this post (http://forums.next.codeblocks.org/index.php?topic=1711.msg12661#msg12661) could give you some hints.
Best wishes,
Michael