|
| From: | Lachlan Andrew |
| Subject: | [Octave-bug-tracker] [bug #47685] debug_on_error does not report errors occurring within a "catch" block |
| Date: | Thu, 2 Jun 2016 00:16:03 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #4, bug #47685 (project octave):
Yes, Matlab does stop. For the function
function c = foo (x)
a = 1
try
b = a(2);
catch
c = b(3);
end
it gives
>> foo
a =
1
Undefined function or variable "b".
Error in foo (line 6)
c = b(3);
6 c = b(3);
K>> a
a =
1
K>>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47685>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |