|
From: | Hermann Peifer |
Subject: | [bug-gawk] gawk debugger omits watchpoint |
Date: | Wed, 25 Nov 2015 20:37:36 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Hi again, Below some sample code where it looks like the second watchpoint is not reached before exiting. This looks wrong to me. Hermann $ printf "END{x=1;y=2}\n" > tmp.awk $ printf "w x\nw y\nr\nc\n" | gawk -D -f tmp.awk /dev/null Watchpoint 1: x Watchpoint 2: y Starting program: Stopping in END ... Watchpoint 1: x Old value: untyped variable New value: 1 main() at `tmp.awk':1 1 END{x=1;y=2} Program exited normally with exit value: 0 $
[Prev in Thread] | Current Thread | [Next in Thread] |