On 12 Oct 2015 20:46, Nancy wrote: > Why line 5 execute twice? Is that a GDB bug? next operates on statements, not lines. unwrap your code to be readable (multiline) and it'll be more obvious. -mike