[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost fram
From: |
Sébastien Villemot |
Subject: |
[Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should |
Date: |
Wed, 5 May 2021 08:47:34 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?60531>
Summary: dbstack(N) not omitting innermost frames as it
should
Project: GNU Octave
Submitted by: svillemot
Submitted on: mer. 05 mai 2021 12:47:32 UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.2.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Hi,
I noticed a regression in Octave 6 with respect to dbstack(N).
Suppose I have the following two files:
foo.m:
function foo
bar
end
bar.m:
function bar
size(dbstack(1), 1)
end
Under Octave 6, calling foo will display:
ans = 2
It turns out that the innermost frame has not been omitted.
While under Octave 5 (and MATLAB), one gets the correct answer:
ans = 1
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60531>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should,
Sébastien Villemot <=
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/05
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/05
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, John W. Eaton, 2021/05/05
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/14
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/16
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/16
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/17
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, John W. Eaton, 2021/05/17
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/18
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/20