[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: How to set a breakpoint at a C++ class function?
From:       Paul Pluzhnikov <ppluzhnikov () google ! com>
Date:       2009-03-17 6:34:03
Message-ID: 8ac60eac0903162334n7c292417j6468718d6867d78 () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic