Posted 02 September 2007 - 11:53 PM
I am new to Dev C++. I am trying to debug a simple hello world C++ program. I am able to set the breakpoints and step through the program when I debug the program as a stand alone one.
However, when I create a project and add this same program to the project and try to debug there, I am unable to do the same thing. its keeps telling me ''Your project does not have debugging information, do you want to enable debugging and rebuid your project" when I try to debug the program. I hit a Yes on the prompt and it just compiles the program again without executing it. I have already checked 'Generate debugging information' in the compiler options.
I am unable to figure out what is going on here. Just a note, I am using this on Windows Vista. Dont know if that has to do anything with the problem. Please advice.