Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Finding source files
Finding source files [message #853938] Mon, 23 April 2012 13:43
Michael Spertus is currently offline Michael SpertusFriend
Messages: 78
Registered: July 2009
Member
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.

Mike
Previous Topic:Indexer doesn't understand GCC flags
Next Topic:Breakpoints unreliable in multithreaded program
Goto Forum:
  


Current Time: Sun Dec 21 00:30:11 GMT 2014

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

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