|
| From: | Floris Van de Vijver |
| Subject: | [Octave-bug-tracker] [bug #55939] 'dbstop if error' stops in function str2num, when no error is present |
| Date: | Sun, 17 Mar 2019 16:29:58 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36 |
Follow-up Comment #2, bug #55939 (project octave):
yes [matlab 2007b]. the behavior is not seen there.
>> str2num('600n')
ans =
[]
>> dbstop if error
>> str2num('600n')
ans =
[]
as a possible fix, the eval statement could be done inside a try catch
statement, such that the 'dbstop if error' would not stop on that line.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55939>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |