octave-3.0: plotting delayed while prompted by 'keyboard'
Søren Hauberg
soren at hauberg.org
Fri Feb 8 03:57:20 CST 2008
fre, 08 02 2008 kl. 04:40 -0500, skrev John W. Eaton:
> On 8-Feb-2008, Søren Hauberg wrote:
>
> | 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?
>
> Maybe. In what ways are you thinking it would be different?
I don't know :-)
I don't use the debugging facilities, but if I did I think I would
prefer if my program behaved exactly the same way in debugging mode as
it would normally. By calling 'drawnow' in places where it wouldn't
normally be called, you change the behaviour of the program. The change
of behaviour is only related to the graphical output, so it probably
doesn't matter, but it is still a change of behaviour...
But as I said, I don't use the debugging facilities, so my opinion
doesn't matter that much.
Søren
More information about the Bug-octave
mailing list