www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/18/13:10:33

Date: Sun, 18 Oct 1998 19:10:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tal Lavi <ranla AT post DOT tau DOT ac DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: Can't debug a class
In-Reply-To: <ranla.30.00058688@post.tau.ac.il>
Message-ID: <Pine.SUN.3.91.981018190450.4161A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sun, 18 Oct 1998, Tal Lavi wrote:

> I'm using the RHIDE integrated debugger and I can't watch the contents of the 
> class's variable, while I'm debuging a method of the same class.

Are you using the default COFF debugging info (the one generated by GCC 
when you give it the -g switch)?  If so, try using -gstabs+ instead.  
COFF debugging info has some known limitations which stabs debugging 
doesn't have.

Also please note that names of some C++ variables and methods need to be 
quoted to override the default name parser of the RHIDE debugging engine 
(for example, it by default thinks that foo::bar is NOT a single name).

This and other problems related to debugging are describe in the FAQ, 
sections 12.7 and 12.8.

- Raw text -


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