[Gambas-user] Global error management routine

Tobias Boege taboege at ...626...
Sun May 26 14:39:36 CEST 2013


On Sun, 26 May 2013, Beno?t Minisini wrote:
> 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.
> 

Indeed. Thanks.




More information about the User mailing list