[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases |
Date: |
Tue, 12 Jan 2021 12:59:44 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #5, bug #59847 (project octave):
Octave currently uses the equivalent of "dbup" to move to the "caller"
workspace. Since these are related issues, could someone please perform an
additional test using the functions in the attached file? After unpacking the
tar.gz file, you'll have a directory called dbup-test. Start Matlab in that
directory and call the function "f3", then follow the displayed instructions
and report the output of all the commands during the session. Octave shows
the following output:
octave:1> f3
f3var = 3
f2var = 2
f1var = 0
at the debug prompt, execute the commands:
dbstack
dbup
dbstack
who
f0
stopped in f1 at line 11
[/net/devnull/scratch/jwe/build/octave/dbup-test/f1.m]
11: keyboard
keyboard> dbstack
stopped in:
--> f1 at line 11 [/net/devnull/scratch/jwe/build/octave/dbup-test/f1.m]
f2 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f2.m]
f3 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f3.m]
keyboard> dbup
stopped in f2 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f2.m]
keyboard> dbstack
stopped in:
f1 at line 11 [/net/devnull/scratch/jwe/build/octave/dbup-test/f1.m]
--> f2 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f2.m]
f3 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f3.m]
keyboard> who
Variables visible from the current scope:
f2var
keyboard> f0
f0var = 0
at the following debug prompt, execute the commands:
dbstack
dbup
dbstack
who
dbquit all
stopped in f0 at line 11
[/net/devnull/scratch/jwe/build/octave/dbup-test/f0.m]
11: keyboard
[1]keyboard> dbstack
stopped in:
--> f0 at line 11 [/net/devnull/scratch/jwe/build/octave/dbup-test/f0.m]
f1 at line 11 [/net/devnull/scratch/jwe/build/octave/dbup-test/f1.m]
f2 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f2.m]
f3 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f3.m]
[1]keyboard> dbup
stopped in f1 at line 11
[/net/devnull/scratch/jwe/build/octave/dbup-test/f1.m]
[1]keyboard> dbstack
stopped in:
f0 at line 11 [/net/devnull/scratch/jwe/build/octave/dbup-test/f0.m]
--> f1 at line 11 [/net/devnull/scratch/jwe/build/octave/dbup-test/f1.m]
f2 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f2.m]
f3 at line 3 [/net/devnull/scratch/jwe/build/octave/dbup-test/f3.m]
[1]keyboard> who
Variables visible from the current scope:
f1var
[1]keyboard> dbquit all
octave:2>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59847>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, Torsten Lilge, 2021/01/08
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, Rik, 2021/01/08
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, John W. Eaton, 2021/01/11
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, John W. Eaton, 2021/01/11
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, Markus Mützel, 2021/01/12
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases,
John W. Eaton <=
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, John W. Eaton, 2021/01/12
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, Markus Mützel, 2021/01/13
- [Octave-bug-tracker] [bug #59847] Unexpected behavior of evalin in some cases, John W. Eaton, 2021/01/13