[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56625] debug prompt can change erratically
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #56625] debug prompt can change erratically |
Date: |
Mon, 22 Jul 2019 21:47:13 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Update of bug #56625 (project octave):
Status: Confirmed => Need Info
_______________________________________________________
Follow-up Comment #1:
After this changeset:
http://hg.savannah.gnu.org/hgweb/octave/rev/49c60d16866f
I see
octave:1> tst_dbp
stopped in tst_dbp at line 3
[/net/devnull/scratch/jwe/build/octave-debug/tst_dbp.m]
keyboard> dbstack
stopped in:
--> tst_dbp at line 3
[/net/devnull/scratch/jwe/build/octave-debug/tst_dbp.m]
keyboard> qqq
error: 'qqq' undefined near line 1 column 1
error: called from
tst_dbp at line 3 column 1
keyboard> dbstack
stopped in:
--> tst_dbp at line 3
[/net/devnull/scratch/jwe/build/octave-debug/tst_dbp.m]
keyboard> dbnext
stopped in tst_dbp at line 5
[/net/devnull/scratch/jwe/build/octave-debug/tst_dbp.m]
5: y = 2;
debug> dbcont
octave:2>
What does Matlab use for the debug prompt? Is it the same as the prompt when
debugging is entered using "keyboard"?
Does Matlab provide any indication that you are in a nested debugging context,
other than needing to execute dbquit multiple times (or use "dbquit all") to
fully exit back to the top prompt?
I think showing the debug level in the prompt is useful, but we could
certainly make it optional and disabled by default if others don't find it
useful. I'd also be fine with using "debug> " for all the debugging prompts
instead of attempting to distinguish the REPL that you enter using the
keyboard function from other debugging REPLs.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56625>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, Rik, 2019/07/12
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically,
John W. Eaton <=
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, Rik, 2019/07/23
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, John W. Eaton, 2019/07/23
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, John W. Eaton, 2019/07/23
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, Rik, 2019/07/23
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, John W. Eaton, 2019/07/23
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, John W. Eaton, 2019/07/23
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, Rik, 2019/07/23
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, John W. Eaton, 2019/07/24
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, Rik, 2019/07/24