[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
old variables listed by "who" after reentering debug mode
From: |
Jose |
Subject: |
old variables listed by "who" after reentering debug mode |
Date: |
Thu, 03 May 2012 11:50:56 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 |
Hello.
I found a strange behavior of "who" while using variables in debug mode
Variables created in debug mode are listed by "who" after leaving and
re-enteing debug mode. Is this correct? At least it is confusing.
To reproduce, first create a function with a keyboard command
---------
function test()
keyboard;
---------
Then, from the command line:
-------------
octave:1> test
stopped in /home/jose/PhD/SVN/octave/rssi_modelling/test.m at line 2
2: keyboard;
debug> whos
debug> a=1;
debug> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
a 1x1 8 double
Total is 1 element using 8 bytes
debug> dbquit
octave:1> test
stopped in /home/jose/PhD/SVN/octave/rssi_modelling/test.m at line 2
2: keyboard;
debug> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
a 0x0 0 unknown
Total is 0 elements using 0 bytes
debug> clear all
debug> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
a 0x0 0 unknown
Total is 0 elements using 0 bytes
debug>
----------
I am using octave 3.6.1
BR
Jose
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- old variables listed by "who" after reentering debug mode,
Jose <=