help-octave
[Top][All Lists]
Advanced

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

Re: error in entering debug mode


From: David Bateman
Subject: Re: error in entering debug mode
Date: Fri, 09 May 2008 13:09:58 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080306)

Oka Kurniawan wrote:
>> The debug mode doesn't run the code through the parser but instead
>> treats it line by line.. Therefore in debug mode you can write
>>
>> for i = 1 : n, y(i) = foo(i); end
>>
>> but not
>>
>> for i = 1 : n
>>   y (i) = foo(i)
>> end
>>
>> I imagine your problem is somehow related to that..
>>
>> D.
>>
>>
> 
> Hi David, thanks for replying, just to clarify how I got the error.
> 
> First I inserted keyboard command into my script and it stop. Then I
> tried to get out of the debug mode. I couldn't type "exit" or "quit",
> but I managed to return to octave:> prompt after I hit Ctrl-C
> 
> so now it's suppose to be in the octave prompt because I see
> octave:>
> 
> then when I run the script again it gives me

Humming, that shouldn't happen and I can't seem to duplicate it. I can
quit the debug mode with "quit".

>>> debug> "error: input: reading user-input failed!"

This is the error message from input.cc (get_user_input) when it can't
understand to input its given. Maybe the control-c is the cause of this
issue though I don't see why.

D.


reply via email to

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