how to debug functions called from other classes
Grazia Russo-Lassner
glassner@umiacs.umd.edu
Mon Dec 12 11:26:00 GMT 2005
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?
>
More information about the Gdb
mailing list