help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

keyboard / debugging different in Octave 3.2 from 3.0?


From: Matthias Brennwald
Subject: keyboard / debugging different in Octave 3.2 from 3.0?
Date: Sat, 27 Jun 2009 08:57:16 +0200

Dear all

I discovered that the keyboard command does not work the same in 3.2 as it did in 3.0. For example, if I put the follwowing into an m file an run it with 3.2.0 (on a Mac), Octave will stop at the keyboard command and return to the prompt, but it won't know about x1, x2 or s:

----------------
1;

function s = sumthat (x1,x2)
s = x1 + x2;
keyboard
endfunction

x = 1;
y = 2;
z = sumthat (x,y);
----------------

Is this expected behaviour? How can I change it?

Matthias


--
Matthias Brennwald
Käferholzstrasse 173
CH 8046 Zürich
+41 364 17 03




reply via email to

[Prev in Thread] Current Thread [Next in Thread]