delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/20/11:47:11

From: stireda AT tor DOT ber DOT hs DOT nki DOT no (Stian)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Debugging
Date: Fri, 20 Mar 1998 17:34:51 GMT
Organization: UNINETT news service
Lines: 33
Message-ID: <3512a82e.130337@nntp-oslo.uninett.no>
References: <35128d9d DOT 613248 AT nntp-oslo DOT uninett DOT no> <35128ee9 DOT 10389860 AT news DOT jet DOT es>
NNTP-Posting-Host: maskin129.ber.hs.nki.no
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Fri, 20 Mar 1998 15:46:37 GMT, gregorio AT jet DOT es (Grzegorz Adam
Hankiewicz) wrote:

I use RHIDE and work from plain DOS. I have the -g option marked on,
but I get the same error message. It says that either the code is not
compiled with debugging information. I read in the docs that the
debugger has some trouble with classes, could that be my problem?
My program is written in C++, and is object-oriented.
I tried setting the breakpoints at different locations but none work.



>
>>Maybe I'm just plain dumb, but I cannot get the debugger to function.
>>After I set a breakpoint and a watch and run the program I get an
>>error message that I have not compiled the program with debugging
>>information. I don't remember the exact error message right now, but
>>if some of you understand my fault from this little info I'd be
>>undesputely happy if you'd give me a tip.
>
>If you are using RHIDE, goto Options-->Compilers-->Debugging , select
>with up/down the -g switch and press space so that the item is marked.
>Now press return or the changes won't make any effect. Recompile all
>and it should work now.
>
>If you are working from plain dos, then you just have to add the -g
>switch to all your compile operations.
>
>- Grzegorz Adam Hankiewicz - gregorio AT jet DOT es - http://web.jet.es/gregorio
>- Gogosoftware - http://web.jet.es/gregorio/gogosoftware

Stian Danielsen
"Why doesn't it work?"

- Raw text -


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