[luau] inane gdb question
Jimen Ching
jching at flex.com
Tue Oct 14 11:08:01 PDT 2003
On Tue, 14 Oct 2003, Charles Lockhart wrote:
>I'm guessing that gdb is only breaking on the "x = 0" part of the code,
>and since that only happens once, it's not breaking on that line again.
GDB can only place breakpoints on a statement. There's only one for-loop
statement in this program. Thus, gdb can only hit this breakpoint once.
>1
>2 int main()
>3 {
>4 int x = 0;
>5 for(x = 0; x < 10; x++)
>6 {
>7 printf("the value of x is %i\n", x);
>8 }
>9 return 0;
>10 }
>11
--
Jimen Ching (WH6BRR) jching at flex.com wh6brr at uhm.ampr.org
More information about the LUAU
mailing list