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

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

[Octave-bug-tracker] [bug #44656] Error following an error in a callback


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #44656] Error following an error in a callback of a uimenu
Date: Sun, 29 Mar 2015 13:36:11 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #2, bug #44656 (project octave):

The callback execution is done in gh_manager::do_execute_callback
(graphics.cc). It is enclosed in a pair of macros
(BEGIN/END_INTERRUPT_WITH_EXCEPTIONS) that should take care of exceptions and
return to prompt. 

The macros in turn are defined in /liboctave/cruft/misc/quit.h, but I am not
competent in that part of the code. Don't know how to force the return to
prompt (except explicitly adding a command_editor::interrupt when in
error_state).



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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