Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » no source file named..
no source file named.. [message #207103] Tue, 24 April 2007 15:57 Go to next message
Eclipse UserFriend
Originally posted by: scott.wakeling.gmail.com

Hi,

I'm using Eclipse 3.2.2 on CentOS, with CDT 3.1.2

I have a C++ project, made up of an executable that links to a number of
so objects. It all compiles and links, and I can step through the
executable source code ok in the debugger, but it refuses to step into
code from the shared libs.

It knows the source files it needs, because it reports them as missing
(e.g. No source file named componentimage.cpp). I have added the
Workspace, and subdirs, to the "Source paths" list in the settings under
"Debug..."

What else can I do?

Thanks in advance for your time.

-scott
Re: no source file named.. [message #207335 is a reply to message #207103] Wed, 25 April 2007 02:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

scott wakeling wrote:
> Hi,
>
> I'm using Eclipse 3.2.2 on CentOS, with CDT 3.1.2
>
> I have a C++ project, made up of an executable that links to a number of
> so objects. It all compiles and links, and I can step through the
> executable source code ok in the debugger, but it refuses to step into
> code from the shared libs.
>
> It knows the source files it needs, because it reports them as missing
> (e.g. No source file named componentimage.cpp). I have added the
> Workspace, and subdirs, to the "Source paths" list in the settings under
> "Debug..."
>
> What else can I do?
>
> Thanks in advance for your time.
>
> -scott
>
>
Just a guess. Are the shared libs compiled with debug information? If
not, the debugger has no way to figure out where it is in the source code.
Re: no source file named.. [message #207370 is a reply to message #207335] Wed, 25 April 2007 08:33 Go to previous message
Eclipse UserFriend
Originally posted by: scott.wakeling.gmail.com

yes, they are all being compiled as debug. As proven by it knowing what
file it needs (it just can't find it).

I've also tried copying the source files around to see if I can find where
it's looking for them. I coped one into the same directory as the main.cpp
source file from the executable, which eclipse happily steps through - and
still, it said, no source file named componentimage.cpp

??
Previous Topic:noob; First time compiling, can anyone help?
Next Topic:Aperi_R0.2_Binary.zip install problems
Goto Forum:
  


Current Time: Fri Mar 29 15:16:07 GMT 2024

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

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

Back to the top