I've installed eclipse from ubuntu repositories and I installed CDT from "install new software."

But every time I try to debug a simple program, an error occurs that says 'launching q.cpp debug' encountered a problem "Program file does not exist"

Also there is nothing in Run > Debug As.

What should I do?

When I type commands, the eclipse command corrector (I don't know what it is called) doesn't show me any any commands to help me to choose the correct one.

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • Did you ever get this question resolved? If you solved it your self can you provide the answer. If it is still unresolved can you edit the question and improve it so we can help you – stephenmyall Aug 1 '12 at 9:32

If you are using g++ as your compiler, you should compile your program with the -g -O0 flags, to facilitate debugging.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.