User forums > Help

Debugger cannot open files

(1/4) > >>

carrejans:
Hi,

When I use the debugger in codeblocks, and I want to open the functions of the stack, I get something like this:

Cannot open file: C:\prog\src\common\event.cpp
Cannot open file: C:\prog\src\common\event.cpp
Cannot open file: C:\prog\src\msw\frame.cpp
Cannot open file: C:\prog\src\msw\window.cpp

Is there something wrong with my debugger settings?

Thanks...

MortenMacFly:

--- Quote from: carrejans on November 19, 2009, 02:00:49 pm ---Is there something wrong with my debugger settings?

--- End quote ---
Probably not. But definitely something is wrong with your posting.
What platform, OS, what C::B version, what compiler (version), what debugger (version), please?

carrejans:
Sorry.
Here is more info:

Windows XP
CodeBlocks Nightly Build 5911 (the latest one)
Mingw GDB debugger 6.3.2

carrejans:
So if I want to open the location (doubleclick on the entry on the stack), it wants to open the cpp files at the wrong directery.
It searches in my project directory: c:\prog, in stead of the directory of the wxwidgets cpp files.

How can I change this?
I already tried to add the wxWidgets directory to "Additional Debugger Search Dirs". But doesn't help.

oBFusCATed:
Please update to gdb 6.8 or 7.0+ 6.3 is quite old!!!!!

Navigation

[0] Message Index

[#] Next page

Go to full version