../configure FFLAGS=-g CFLAGS=-g CXXFLAGS=-g --disable-gui
The GUI does not respond to CONTROL C
While trying to debug #39925 I found something that might or might not be related to this bug.
from the octave prompt I am running:
In gdb I
have breakpoint #1 at gl-render.cc:1400 ( draw_axes)
and breakpoint #2 at gl-render.cc:2613 (draw_image)
The first Time I run
image (1e7 + [1 2], 1 + [1 2], rand (2));
the break points are : 1 2 1 2
The second time I run the same image
the break points are: 1 2 2
the 3rd time it is : 1 2 2 2
the 10th time it is: 1 2 2 2 2 2 2 2 2 2 2
The reason that I saw this is that this bug (#39925) does not happen on the first run so I was trying multiple runs, and saw this behaviour.
If you run the image command for the 20th time there is no need to run draw_image 20 times.
If we figure out why this is happening then we might also solve bug #39925