How to set a breakpoint at a C++ class function?
Paul Pluzhnikov
ppluzhnikov@google.com
Tue Mar 17 06:34:00 GMT 2009
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
More information about the Gdb
mailing list