Reputation: 3113
An "Errors exist in the active configuration of project X. Proceed with launch?" dialog appears while debugging code in Eclipse. Hitting the "Proceed" button results in successful debugging. There are no apparent errors with the launch configuration. A similar Run Configuration does not generate the error.
Upvotes: 3
Views: 12102
Reputation: 9474
It starts the executable that was built last before you broke the build. That executable will be older then your source files. The reason you were able to debug is because your line numbers did not change for the code you've debugged - e.g. you may try break in main then introduce a compilation error and move main a couple lines below - the debug will highlight the wrong lines when it stops.
Upvotes: 0
Reputation: 3113
This is caused by an invalid path somewhere in your Eclipse project settings. There are a couple common sources for this kind of error.
Sometimes, you can find the offending path by looking at the full list of Error messages. If not, look in your project file.
If you're using a version of Eclipse that warns you this option is deprecated, uncheck the option to disable it and fix any includes in 'Preprocessor Include Paths' instead. If not. . .try it anyway.
Depending on your path changes, restart Eclipse and try again.
Upvotes: 6