This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to debug functions called from other classes



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?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]