Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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