help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug not displaying variable?


From: Jaroslav Hajek
Subject: Re: debug not displaying variable?
Date: Fri, 7 May 2010 13:15:27 +0200

On Fri, May 7, 2010 at 12:29 AM, fork <address@hidden> wrote:
> Hi all,
>
> I am unable to inspect variables in the debug session, at least on the windows
> (Octave version == 3.2.4) machine I am using currently.  Is there something I 
> am
> missing?
>
> Here is a sample session.  When I type "s", I expected it to print "1"...
>
> $ function [ret] = foo()
> ...$ keyboard()
> ...$ ret =2
> ...$ end
> ~:4
> $ foo()
> foo:  line 2, column 1
> keyboard: stopped in foo
> debug> x
> error: `x' undefined near line 4 column 1
> debug> s=1
> debug> s
> debug> return
> ans =  2
> ~:5
>

Works for me in tip.

-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]