delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/01/12/15:15:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Mon, 12 Jan 2004 20:16:09 +0000
From: Richard Dawe <ng AT phekda DOT gotadsl DOT co DOT uk>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031031
X-Accept-Language: en, de, fr
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: debugging template classes/functions
References: <btuqku$tfn$00$1 AT news DOT t-online DOT com>
In-Reply-To: <btuqku$tfn$00$1@news.t-online.com>
Message-ID: <9tbbd1-i32.ln1@phekda.freeserve.co.uk>
Lines: 19
NNTP-Posting-Host: 81.6.218.72
X-Trace: 1073937817 mercury.nildram.net 61058 81.6.218.72
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Alex Traud wrote:
> is it possible to debug template classes with gcc 3.3.2/djgpp and rhide
> 1.4.9?
> any breakpoints that i set inside template (member) functions have no
> effects.
> any ideas?

You should be able to debug template classes, but it will depend on the 
version of gdb that RHIDE was built against. (RHIDE uses parts of the 
gdb debugger.)

I've used gdb 5.<something> to debug templated functions before. Those 
are pretty simple. I haven't tried templated classes. I haven't tried 
gdb 6 yet - perhaps that has better C++ support than 5.x.

Regards, Rich

- Raw text -


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