Search code examples
eclipsedebuggingeclipse-cdt

Debug Error Occurred in Eclipse


I'm trying to debug an open source package, called libprotoident in Eclipse, Kepler version, within Debian. As it has the Makefile, I choose to make an empty Makefile project, and then add all the sources into the workspace. So after that the source compiled and run successfully as in the command line using the Makefile. As it has 4 apps you can use, I choose to run lpi_protoident package in the run configuration window, as the following image shown.

Run Configuration

So the Program ran successfully. Now I'm trying to debug it but it generates the following error.

Debug Error Occurred

How can I solve this error and debug the Project?


Solution

  • The file you are trying to debug is most likely a shell script created by automake that acts as a wrapper around the real executable, which has been built in a hidden directory.

    Instead of telling Eclipse that tools/protoident/lpi_protoident is your application, try using tools/protoident/.libs/lpi_protoident instead.