|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #61201] A "Matlab-style short-circuit ... operator &" warning message points to wrong statement |
Date: | Tue, 21 Sep 2021 17:43:13 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0 |
Follow-up Comment #1, bug #61201 (project octave): Simpler example: debug_on_error(1) debug_on_warning(1) NOVER = NLIM = 10000; nsucc = -666; nchg=0; j = 0; while ((j < 100) & nsucc); j++; nsucc = 0; k = 0; while ((k < NOVER) & (nsucc < NLIM)); k += 1; 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; endwhile endwhile [j k nsucc nchg] It appears the debug on warning always stops and points at the last line inside the while loop, hence "10;" in the above case. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61201> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |