I'm developing a C++ app on Ubuntu 14.04 LTS Desktop using Eclipse CDT. I'm having problems using the getopt_long() function. When I step through my code, Eclipse isn't able to find the source code for this file.
How do I get find the right version of the source files for the debugging information that's on my system and get Eclipse to use those files as I step through debugging?
I'm assuming that the answer to this question will also answer the same question for other libraries' source code.