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

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

[Octave-bug-tracker] [bug #49171] Warnings after save from GUI editor ar


From: John Swensen
Subject: [Octave-bug-tracker] [bug #49171] Warnings after save from GUI editor are related to the previous version
Date: Tue, 8 Nov 2016 17:59:53 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.35 Safari/537.36

Follow-up Comment #6, bug #49171 (project octave):

I think a quick fix may be as easy as checking whether the file has any
breakpoints and whether Octave is currently in debug mode before causing the
exit_debug_and_clear to be called. I think that in Matlab that if you are
trying to save a file while debugging that it asks if you want to stop
debugging and save the file. I think this keeps Matlab from having to reparse
any files until the next time they are run. 

So, an alternative workaround to Bug #46632 is to ask if the user want to stop
debugging (assuming Octave is in debug mode) when a save is requested.
Additionally, this would prevent the need to re-parse until the next time the
function is run.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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