how to debug functions called from other classes
Jim Blandy
jimb@red-bean.com
Sat Dec 10 18:44:00 GMT 2005
On 12/10/05, Grazia Russo-Lassner <glassner@umiacs.umd.edu> 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?
More information about the Gdb
mailing list