octave-maintainers
[Top][All Lists]
Advanced

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

Re: Problem with try/catch statement: catch clause not evaluated


From: Michael Goffioul
Subject: Re: Problem with try/catch statement: catch clause not evaluated
Date: Fri, 7 Sep 2007 17:07:09 +0200

On 9/7/07, Michael Goffioul <address@hidden> wrote:
> After debugging a little bit, it turns out that this is due to the non-zero
> value of octave_interrupt_immediately, which is set just before starting
> to read a line with readline, in gnu_readline::do_readline. This prevents
> the catch clause to be evaluated.

I found a workaround by using the macros
[BEGIN|END]_INTERRUPT_WITH_EXCEPTIONS, but I don't know
if it's the right way to achieve this.

Michael.


reply via email to

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