[gvd-users] adding blue dots
Jon Fram
gvd-users@lists.act-europe.fr
Sat, 9 Jun 2001 19:56:36 -0700
I'm tantalizingly close to getting gvd working. When I run my test program
(see below) I only get one blue dot in my source window (on line 6), and I
am only able to add breakpoints up to line 6. If I try adding a breakpoint
at line 8 I get 'No line 8 in file "test.c".' How do I get gvd to recognize
the other lines in test.c, and thus allow me to really step through the
program?
Thanks in advance
Jon
U.C. Berkeley
------------------------
#include <stdlib.h>
int changex(int );
int main()
{
int x;
printf("It reached this line.\n");
x = 47;
printf("x is %d\n",x);
x= 21;
printf("x is now %d\n",x);
x = changex(x);
printf("x is then %d\n",x);
return 0;
}
int changex(int ex)
{
ex +=5;
return ex;
}