no source file named.. [message #207103] |
Tue, 24 April 2007 15:57 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
??
|
|
|
Powered by
FUDForum. Page generated in 0.04049 seconds