|Finding source files [message #853938]
||Mon, 23 April 2012 13:43
| Michael Spertus
Registered: July 2009
I'm having trouble figuring out which source container to use.|
I have files that were manually built on a remote machine, so the debug info gives source paths like /home/myname/rpmbuild/BUILD/fooproject/libfoo/foo.cpp. In my Eclipse project fooproject, foo.cpp is in the libfoo directory. How do I get Eclipse to locate the source?
I can simply use "Locate File..." but that is painful.
If I use Edit Source Lookup Path and add my Workspace, projects, or project folders, it doesn't work because it looks for a resource that contains "/home/myname." I can use a path mapping, but that only maps to a filesystem path, and I want to map to a project path.
What I'd really like is to just say "look anywhere in my workspace for files" and it will find "foo.cpp" without prepending the full path just like the "directory" command works in gdb.
Any suggestions are welcome.
Powered by FUDForum
. Page generated in 0.02983 seconds