octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46251] error doesn't return to debug prompt


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #46251] error doesn't return to debug prompt
Date: Tue, 20 Oct 2015 11:06:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.3.0

Follow-up Comment #3, bug #46251 (project octave):

> though resetting the error handler might be best in the
> catch block, I don't know.

I'd say it's better where it is, not in the catch block, since you probably
always want to reset, not only in case of an error.

But why not just avoid the exception instead, as in the attached patch
(untested)?

(file #35241)
    _______________________________________________________

Additional Item Attachment:

File name: avoid-throw.diff               Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46251>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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