Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Finding source files
Finding source files [message #853938] Mon, 23 April 2012 09:43
Eclipse UserFriend
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: Wed Jun 18 11:57:13 EDT 2025

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

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

Back to the top