User forums > Help

Debug breakpoints

(1/2) > >>

Revvy:
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).

MortenMacFly:
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.

ASJ:
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

Revvy:
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.

Michael:

--- Quote from: Revvy on June 16, 2006, 11:40:09 pm ---I'm using gdb 5.2.1.

--- End quote ---

Hello,

That's the problem. Download from MinGW GDB 6.3.

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

Go to full version