From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17881 invoked by alias); 11 Dec 2005 15:43:43 -0000 Received: (qmail 17861 invoked by uid 22791); 11 Dec 2005 15:43:43 -0000 X-Spam-Check-By: sourceware.org Received: from velcro.umiacs.umd.edu (HELO velcro.umiacs.umd.edu) (128.8.120.103) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 Dec 2005 15:43:41 +0000 Received: from trifle.umiacs.umd.edu (trifle.umiacs.umd.edu [128.8.120.213]) by velcro.umiacs.umd.edu (8.13.1/8.13.1) with ESMTP id jBBFhWrf002447; Sun, 11 Dec 2005 10:43:32 -0500 (EST) Received: from localhost (glassner@localhost) by trifle.umiacs.umd.edu (8.12.10/8.13.1) with ESMTP id jBBFhSDZ013586; Sun, 11 Dec 2005 10:43:28 -0500 (EST) Date: Sun, 11 Dec 2005 15:43:00 -0000 From: Grazia Russo-Lassner To: Jim Blandy cc: gdb@sources.redhat.com Subject: Re: how to debug functions called from other classes In-Reply-To: <8f2776cb0512101044h7e870480i74b03b9058e54574@mail.gmail.com> Message-ID: References: <20051209214948.GA24287@nevyn.them.org> <8f2776cb0512101044h7e870480i74b03b9058e54574@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00131.txt.bz2 Jim, my question is how tobe able to step into BuildVcb. So far when I "step" the entire output of BuildVcb gets printed out. G. On Sat, 10 Dec 2005, Jim Blandy wrote: > On 12/10/05, Grazia Russo-Lassner wrote: >> the function BuildVcb is where the error message of my code comes from: >> >> line50 : parser->BuildVcb(arg1, arg2); > > So, 'BuildVcb' is a method of whatever class 'parser' points to; and > when you call 'parser->BuildVcb', that code prints an error message; > is that right? > > What does GDB do when you reach line 50 and type 'step' to step into > the method call? Can you show us a transcript? >