Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » debugger cant find fortran file on a non-existent fortran instllation(debugger asking for file that's not there)
debugger cant find fortran file on a non-existent fortran instllation [message #1698491] Mon, 15 June 2015 21:57 Go to next message
Eclipse UserFriend
just love eclipse after working out several bugs of course. I am having a persistant problem though with the debugger : once it hits a cout statement it throws an error stating a source file is missing:

Can't find a source file at "/home/gfortran/gcc-home/workshop/gcc/objdir/x86_64-w64-mingw32/libstdc++-v3/include/ostream" 

Locate the file or edit the source lookup path to include its location.

I included screenshot photo in upload, since apparently the forum wont let me post an external link to imgur.
- the gfortran files are all greyed out which I think they should be because I skipped the fortran option with installation. So why is the debugger looking for a missing fortran file in the current environment?

photo attatched

I have reviewed dozens of similar problems on the internet and here as well, but can't find the one solution.

I would really like to solve it because having a half working debugger is driving me crazy.
I've tried combinations of step in, step over, resume etc. no luck.

Thanks in advance.
Re: debugger cant find fortran file on a non-existent fortran instllation [message #1699139 is a reply to message #1698491] Sun, 21 June 2015 23:08 Go to previous messageGo to next message
Eclipse UserFriend
Anybody want to try? Debugger is worthless...having to go old style of inserting flags, etc, in c++ body
Re: debugger cant find fortran file on a non-existent fortran instllation [message #1722089 is a reply to message #1698491] Tue, 02 February 2016 12:01 Go to previous messageGo to next message
Eclipse UserFriend
I'm having this EXACT problem. Any resolution yet?
Re: debugger cant find fortran file on a non-existent fortran instllation [message #1722116 is a reply to message #1722089] Tue, 02 February 2016 14:27 Go to previous message
Eclipse UserFriend
I's not Eclipse as much as it's gdb. If you don't like the message then don't step into library routines you when you don't have their source. Step over them instead (the upside down U shaped arrow next to the step-into button). "cout" is a C++ Standard Library function found in ostream BTW and has nothing to do with FORTRAN even though the path name contains "gfortran". However, if you do have the source, use the Source tab of Debug Configuration dialog.
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_run_source.htm

Previous Topic:Serial remote debugging with Eclipse CDT or Eclipse standalone debugger
Next Topic:Eclipse IDE for C++ code
Goto Forum:
  


Current Time: Sun Nov 09 06:20:15 EST 2025

Powered by FUDForum. Page generated in 0.04788 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top