[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: |
Fri, 12 Jul 2019 18:56:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL:
<https://savannah.gnu.org/bugs/?56625>
Summary: debug prompt can change erratically
Project: GNU Octave
Submitted by: rik5
Submitted on: Fri 12 Jul 2019 03:56:56 PM PDT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The debug prompt can take on different values which seems unnecessary when
compared to previous versions of Octave where "debug>" was used all the time.
In the first case, a breakpoint that is hit with the keyword "keyboard" drops
the user in to the debugger but the prompt is "keyboard>". A breakpoint that
is set with dbstop drops the user in to the debugger and the prompt is
"debug>".
Second, when in debug mode the prompt can change from "keyboard>" to
"[1]debug>" to "debug>" all in the same session.
A sample m-file called tst_dbp.m is attached
clear all
debug_on_error (1)
x = 1;
keyboard;
y = 2;
And here is the diary of a session that shows three different debug prompts.
octave:3> tst_dbp
keyboard> dbstack
stopped in:
--> tst_dbp at line 6 [/home/rik/wip/Projects_Mine/octave-dev/tst_dbp.m]
keyboard> qqq
error: called from
tst_dbp at line 6 column 1
error: 'qqq' undefined near line 1 column 1
[1]debug> dbstack
stopped in:
--> tst_dbp at line 6 [/home/rik/wip/Projects_Mine/octave-dev/tst_dbp.m]
[1]debug> dbnext
debug> dbcont
octave:4> diary off
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 12 Jul 2019 03:56:56 PM PDT Name: tst_dbp.m Size: 26B By: rik5
<http://savannah.gnu.org/bugs/download.php?file_id=47204>
_______________________________________________________
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 <=
- [Octave-bug-tracker] [bug #56625] debug prompt can change erratically, John W. Eaton, 2019/07/22
- [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