This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to set a breakpoint at a C++ class function?
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: Meryl Silverburgh <silverburgh dot meryl at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 16 Mar 2009 23:34:03 -0700
- Subject: Re: How to set a breakpoint at a C++ class function?
- References: <701fce30903162235g28f1811l319945dbaf8a1e91@mail.gmail.com>
On Mon, Mar 16, 2009 at 10:35 PM, Meryl Silverburgh
<silverburgh.meryl@gmail.com> wrote:
> (gdb) break RenderBlock::calcBlockPrefWidths
> Can't find member of namespace, class, struct, or union named
> "RenderBlock::calcBlockPrefWidths"
> Hint: try 'RenderBlock::calcBlockPrefWidths<TAB> or
> 'RenderBlock::calcBlockPrefWidths<ESC-?>
>
>
> It did not work.
Note the leading single quote (which is required) in what GDB
suggests you try.
What happens when you type (at the (gdb) prompt):
'RenderBlock::calcBlockPrefWiths
and then hit the TAB key?
--
Paul Pluzhnikov