From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22252 invoked by alias); 17 Mar 2009 06:34:11 -0000 Received: (qmail 22244 invoked by uid 22791); 17 Mar 2009 06:34:10 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 06:34:06 +0000 Received: from zps76.corp.google.com (zps76.corp.google.com [172.25.146.76]) by smtp-out.google.com with ESMTP id n2H6Y4eI008187 for ; Mon, 16 Mar 2009 23:34:04 -0700 Received: from rv-out-0708.google.com (rvbk29.prod.google.com [10.140.87.29]) by zps76.corp.google.com with ESMTP id n2H6XjWY027104 for ; Mon, 16 Mar 2009 23:34:03 -0700 Received: by rv-out-0708.google.com with SMTP id k29so1662880rvb.22 for ; Mon, 16 Mar 2009 23:34:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.1.12 with SMTP id d12mr2613286wfi.203.1237271643113; Mon, 16 Mar 2009 23:34:03 -0700 (PDT) In-Reply-To: <701fce30903162235g28f1811l319945dbaf8a1e91@mail.gmail.com> References: <701fce30903162235g28f1811l319945dbaf8a1e91@mail.gmail.com> Date: Tue, 17 Mar 2009 06:34:00 -0000 Message-ID: <8ac60eac0903162334n7c292417j6468718d6867d78@mail.gmail.com> Subject: Re: How to set a breakpoint at a C++ class function? From: Paul Pluzhnikov To: Meryl Silverburgh Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00098.txt.bz2 On Mon, Mar 16, 2009 at 10:35 PM, Meryl Silverburgh wrote: > (gdb) break RenderBlock::calcBlockPrefWidths > Can't find member of namespace, class, struct, or union named > "RenderBlock::calcBlockPrefWidths" > Hint: try 'RenderBlock::calcBlockPrefWidths or > 'RenderBlock::calcBlockPrefWidths > > > 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