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

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

[Octave-bug-tracker] [bug #35795] dbstep doesn't do single line stepping


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #35795] dbstep doesn't do single line stepping when error_status is set
Date: Tue, 13 Mar 2012 04:39:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Superrat/3.6.13

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

I'm not sure this really is a bug. By the time an error has happened, Octave
may have encountered a state it can't recover from... yet you want to recover?
I find toggling debug_on_error to be a useful mechanism for figuring out what
was the state when the error happened, but not for stepping again. After all,
after the error happened, perhaps some variable was expected to be assigned to
the value after the error was caught, so what should the debugger do with that
variable?

After error status has been set, it seems to me like Octave can drop you into
that environment that caused the error, but then it has to rewind and dump you
back into the interpreter as soon as possible and get out of the error state
as soon as possible.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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