octave-3.0: plotting delayed while prompted by 'keyboard'

Søren Hauberg soren at hauberg.org
Fri Feb 8 03:00:56 CST 2008


fre, 08 02 2008 kl. 03:14 -0500, skrev John W. Eaton:
> On  4-Feb-2008, Søren Hauberg wrote:
> 
> | 
> | man, 04 02 2008 kl. 15:06 +0100, skrev Olaf Till:
> | > Octave version: Debians 'testing' octave3.0 source package compiled in
> | >  Debian 'stable', ignoring build-dependencies
> | > 
> | > Problem: While in 'keyboard' debug modus, no plotting (with the usual
> | > Gnuplot backend) is possible, neither from 'keyboard's prompt nor from
> | > the script just before the 'keyboard' command. Can be reproduced by
> | > typing 'keyboard' in a freshly started Octave and trying to plot
> | > something with 'plot'. The plot figure appears on screen after leaving
> | > the debug modus.
> | Have you tried calling 'drawnow' in debug mode?
> 
> That should work, but I guess we should just do it automatically.
> 
> Please try the following patch.
Is it really a good idea to call drawnow in debug mode. Doesn't that
mean that a program would behave differently in debug mode?

Søren



More information about the Bug-octave mailing list