delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/28/19:54:32

Message-ID: <002d01bf517f$71cb2b60$1c00000a@cristian.caresystems.com.au>
From: "Leon" <Leon AT caresystems DOT com DOT au>
To: <djgpp AT delorie DOT com>
Subject: ouch - break points in cpp file of template class using gdb ;-)
Date: Wed, 29 Dec 1999 08:01:30 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

was just wondering - when using gdb (ie not from RHIDE or any other ide) -
one can easily put a breakPoint in a given cpp file...:

b main.cpp:5


but - how would one put a break point in a cpp file of a TEMPLATE class?

i pesume that the source file of a template class is not created in general
but the each instance of the template type provided and thus the error of
"cannot find such a source file" is provided by gdb?

any tips?

With best regards - Leon.

- Raw text -


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