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

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

[Octave-bug-tracker] [bug #59306] `memory` function fails for `debug_on_


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59306] `memory` function fails for `debug_on_error (true)`
Date: Mon, 19 Oct 2020 16:25:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #10, bug #59306 (project octave):

This problem was likely introduced in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/fd32c1a9b1bd

After this change, entering the debugger on an error happens at the point the
exception is thrown.  That seems like the right thing to do but as this report
shows we could be executing code in an internal C++ try/catch block that would
eventually ignore the exception.

I think the problem will be avoided if we instead handle debug_on_error in the
evaluator at the point where each statement or expression is evaluated.  I'll
try to make that change.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59306>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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