Re: how to debug functions called from other classes

Grazia Russo-Lassner
2005-12-12T11:26:56Z

thank you, Jim.
i am able to step into the function now.

Grazia

On Sun, 11 Dec 2005, Jim Blandy wrote:

> On 12/11/05, Grazia Russo-Lassner <glassner@umiacs.umd.edu> wrote:
>> my question is how tobe able to step into BuildVcb.
>> So far when I "step" the entire output of BuildVcb gets printed out.
>
> So, when the program reaches the line containing the call of the
> BuildVcb method, and you type "step", GDB acts as if you had typed
> "next" or "continue"?
>
> If you ask GDB to "step" into a function or method that has no
> debugging information, GDB will do a "next" instead. Did you compile
> the file that contains the definition of the BuildVcb method with -g?
>