delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/05/17:20:40

From: carnasaurs AT umich DOT edu (Sihan Goi)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help! Debugging in RHIDE doesn't work...!
Date: Thu, 05 Nov 1998 22:19:25 GMT
Organization: Carnasaur's Inc.
Lines: 31
Message-ID: <71t80v$luv$1@denws02.mw.mediaone.net>
References: <71jam6$3vc$1 AT denws02 DOT mw DOT mediaone DOT net> <363E562C DOT 61247F1E AT gmx DOT net> <71m99l$a7d$1 AT denws02 DOT mw DOT mediaone DOT net> <363F93F3 DOT 99F017D7 AT gmx DOT net> <71r9mf$26c$1 AT denws02 DOT mw DOT mediaone DOT net> <3642377A DOT 5E021862 AT gmx DOT net>
NNTP-Posting-Host: nic-c12-213.mw.mediaone.net
X-Newsreader: News Xpress 2.01
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019