eclipse-CDT won't debug my c++ programs
-
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.
-
Answer:
If you are using g++ as your compiler, you should compile your program with the -g -O0 flags, to facilitate debugging.
MustafaJF at Ask Ubuntu Visit the source
Related Q & A:
- Why won't my app run in the IOS simulator?Best solution by Stack Overflow
- Why won't my text wrap around the image?Best solution by Stack Overflow
- Why google map won't show mark to me?Best solution by Stack Overflow
- Why won't Tumblr video show on my Tumblr?Best solution by answers.yahoo.com
- Why won't my computer let me defragment C drive?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.