octave-maintainers
[Top][All Lists]
Advanced

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

Re: error doesn't return to debug prompt


From: Rik
Subject: Re: error doesn't return to debug prompt
Date: Mon, 19 Oct 2015 10:57:56 -0700

On 10/16/2015 09:00 AM, address@hidden wrote:
Subject:
error doesn't return to debug prompt
From:
Olaf Till <address@hidden>
Date:
10/15/2015 10:50 PM
To:
"John W. Eaton" <address@hidden>
CC:
octave maintainers mailing list <address@hidden>
List-Post:
<mailto:address@hidden>
Precedence:
list
MIME-Version:
1.0
Message-ID:
<address@hidden>
Content-Type:
multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s"
Message:
4

jwe,

since you are working at error handling at the moment, are you aware
that with current tip, if a command given at the debug prompt causes
an error, it returns to top level, not to the debug prompt?

octave:1> function func ()
> keyboard
> endfunction
octave:2> func
stopped in func at line 2
debug> error ("test")
error: test
error: called from
    func at line 2 column 1
octave:2> 

Olaf
Olaf,

Can you file a bug report about this so it doesn't get lost?  This is just one of many areas that need to be updated now that exceptions are used in the core.  Maybe you can link your issue report to bug #46216 which is another case of exceptions changing existing behavior.

--Rik


reply via email to

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