[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [photran] Debugger "can't find a source file" | 
See the section on "Debugging C/C++ Projects" in the CDT FAQ:
http://wiki.eclipse.org/CDT/User/FAQ
Jim
Jim Carpenter wrote:
You may need to add a path mapping so that the debugger can find sources:
Window -> Preferences -> C/C++ -> Debug-> Common Source Lookup Path -> 
Add
You may need to map /cygdrive/c to C:\ on the local file system.
Jim
Bruno wrote:
Hello,
I use Eclipse SDK 3.4 + CDT 5.0.2 + MinGW/MSYS with gfortran, on 
Windows XP. I have no problem compiling and running my Fortran 
project (Executable GNU Fortran, GCC Toolchain), but I can't debug 
it... In the Debug Configuration, I select the "gdb Debugger", but I 
always get the message:
Can't find a source file at "../../../gcc-trunk/libgfortran/fmain.c"
Locate the file or edit the source lookup path to include its location.
As I stated, I use MinGW, and I installed gdb for MinGW (mingw-gdb) 
available here: http://www.mingw.org/wiki/Getting_Started
Does anyone have an idea?
Thanks
Bruno
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran