Mail Archives: djgpp/1998/11/05/17:20:40
In article <3642377A DOT 5E021862 AT gmx DOT net>, djgpp AT delorie DOT com wrote:
>Sihan Goi wrote :
>>
>> Well, normall .cpp files are simply cpp files open in RHIDE. They
>> ran/debugged
>> properly. Project files are when I open a project file, for example
>> project.gpr, and THEN open the main cpp file of the project, such as
>> project.cpp. In this case, I cannot use the debugging features...
>
>Then you should check the settings when you opened the project.
>Especially if in Options/Compilers/Debugging the -g flag is
>selected and you haven't a -s switch in Options/Compiler options.
I checked it...the -g flag is selection and the -s switch isn't. I tried a
simple test project file including only 1 of my header files of my original
project, and this time, debugging worked.
Then, I went back to open my proj2.gpr and the problem came back again. It
just keeps displaying the error message "This program has no usable debugging
information. Try to compile it with the -g switch".
I totally have no idea why this should be, since normal .cpp files could be
debugged, another project file could also be debugged, but this one just
wouldn't let me...any ideas?
ciao!
------------------------------------------------------------
Sihan Goi
Webmaster, The Midi Kingdom/The Carnasaur Kingdom
email : carnasaur AT umich DOT edu
Midi Kingdom: http://www.umich.edu/~sgoi
Carnasaur Kingdom: http://www-personal.engin.umich.edu/~sgoi
------------------------------------------------------------
- Raw text -