[Gambas-user] Global error management routine

Benoît Minisini gambas at ...1...
Sun May 26 13:19:28 CEST 2013


Le 26/05/2013 10:08, Tobias Boege a écrit :
>
> I did. This is my FMain.class:
>
> ---
> Static Public Sub Application_Error()
>    Error "Error: "; Error.Text
>    Print 12 / 0
> End
>
> Public Sub Button1_Click()
>    File.Load("/does/not/exist")
> End
> ---
>
> What currently happens is that, when I click on Button1, Application_Error()
> is called and prints the correct error. Then it produces an error and this
> again calls Application_Error(). The error information is updated correctly.
> However, the program does not abort until the Stack is exhausted.
>

Fixed in revision #5681.

Regards,


-- 
Benoît Minisini




More information about the User mailing list