www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/05/22:46:15

From: riumsemaj AT hotmail DOT com (James Muir)
Newsgroups: comp.os.msdos.djgpp
Subject: problem using debugging in RHIDE
Date: 5 Dec 2002 19:40:12 -0800
Organization: http://groups.google.com/
Lines: 29
Message-ID: <a689d86c.0212051940.4e8cf581@posting.google.com>
NNTP-Posting-Host: 129.97.216.223
X-Trace: posting.google.com 1039146012 18176 127.0.0.1 (6 Dec 2002 03:40:13 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 6 Dec 2002 03:40:13 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I just installed RHIDE 1.4.9 last week (on Windows98) and I have a
problem that I can't seem to solve from the documentation.

I can't seem to get the debugging functions to work from inside RHIDE.
For example, when I compile a simple C++ program, say test.cpp, RHIDE
says:

 executing:
 gcc -IC:/djgpp/include -g     -c test.cpp -o test.o

Now, when I try "Step Over" the code, RHIDE says:

 This program has no usable debugging information. Try
 to compile it with the -g switch.

but, it seems the -g switch was already used.  I've tried adding other
debugging switches from inside RHIDE but I still get the same error.
RHIDE also quickly flashes this message when I try to debug:

 gcc -o test.exe test.o -lstdcxx -lm

but I think this is just a linking step.  Any idea what's wrong?  I'd
like to just be able to hit F8 when I want to step into my code.

Thanks.

-James

- Raw text -


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