public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Dima Sorkin <dima.sorkin@gmail.com>
To: gdb@sourceware.org
Subject: c++ templates and gdb
Date: Tue, 23 Aug 2005 07:00:00 -0000	[thread overview]
Message-ID: <e402936005082300007e0c92c6@mail.gmail.com> (raw)

Hi.
 I have problems with debugging c++ templates
on gdb (I tried 6.3 and earlier versions, on Linux and MinGW):

1a) Often I am unable to set a breakpoint inside a template-
       function,or member of a template class. Gdb just
       don't "see" the code.
1b) Even if I set a breakpoint, gdb sometimes doesn't stop there.

2) Gdb doesn't understand the names of a templates, for
    example trying to set a breakpoint at the entry of
     " my_class<int>::f() "
     won't be understood by gdb.Automatic name completion
     and resolution of template names (as described in the
     manual) does not work.

Somebody have some hints ?

Thank you.
  Dima.

                 reply	other threads:[~2005-08-23  7:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e402936005082300007e0c92c6@mail.gmail.com \
    --to=dima.sorkin@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).