Mail Archives: djgpp/1998/11/07/00:25:15
In article <3643A6AF DOT 1CC3BF8B AT gmx DOT net>, Robert Hoehne <robert DOT hoehne AT gmx DOT net> wrote:
>Sihan Goi wrote :
>>
>> 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?
>
>Probably you have set something manually in the project
>which you don't know or can't find. Please open the project
>and select from the menu Project/Write Makefile and then
>post the generated makefile proj2.mak.
You're very right, indeed its something within my project file proj2.gpr that
was disallowing me from debugging the main program. I tried deleting all the
project files and creating a new one with the same cpp files, and this time
debugging works...
However, I still don't know what was wrong with my old project file though...
Anyway, since debugging is working now, can anyone tell me how I can inspect
individual/multiple variables within RHIDE when I'm stepping though my
program? The Borland C IDE has an "Inspect" field in the "Debug" menu, but
apparently RHIDE doesn't. Can RHIDE inspect variables? Can it also inspect
what a pointer is pointing to if the variable is a pointer?
Thanks again!
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 -