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

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

[Octave-bug-tracker] [bug #56625] debug prompt can change erratically


From: Rik
Subject: [Octave-bug-tracker] [bug #56625] debug prompt can change erratically
Date: Tue, 23 Jul 2019 14:41:34 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #56625 (project octave):

                Priority:              5 - Normal => 3 - Low                

    _______________________________________________________

Follow-up Comment #5:

I like the idea of indicating how many levels deep one is in the debug
hierarchy.  In normal debug circumstances I understood how I got from "debug>"
to "[1]debug>" to "[2]debug>".

It is just confusing, to me, that I'm in a "keyboard>" instance of debugging,
then by typing 'qqq' I reach "[1]debug>", but if I check with dbstack, it
still tells me that I am at the same "keyboard>" instance.  Then when I do
"dbnext", I don't return to the "keyboard>" instance, but return to a "debug>"
instance, unless I execute "dbquit", in which case I do go back to a
"keyboard>" prompt.

There are bigger issues to tackle and I don't mind leaving this one alone, but
the fact that there are so many paths through the code seems unideal.  In
another unexpectedness, entering 'qqq' gets you to "[1]debug>" but typing
another error such as 'zzz' does not take you to "[2]debug>" which is what I
would now expect.  Is the interpreter somehow not incrementing the debug stack
when the prompt is the same?

I attached tst_dbp2.m which is the file I am now using for testing which has
debug_on_error embedded in it.


(file #47252)
    _______________________________________________________

Additional Item Attachment:

File name: tst_dbp2.m                     Size:0 KB
    <https://savannah.gnu.org/file/tst_dbp2.m?file_id=47252>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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