Re: [fpc-pascal] class constructor exception

2024-04-23 Thread Mattias Gaertner via fpc-pascal
On 23.04.24 09:32, Andrey Zubarev via fpc-pascal wrote: Hi, Set ExceptProc to your handler in unit initialization section in unit usesed before the problematic one? It is set by lcl TApplication. Just found out: It works with other exceptions, but not with EAbort. And that indeed creates a

Re: [fpc-pascal] class constructor exception

2024-04-23 Thread Andrey Zubarev via fpc-pascal
Hi, Set ExceptProc to your handler in unit initialization section in unit usesed before the problematic one? On Tue, Apr 23, 2024 at 12:20 AM Mattias Gaertner via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Hi, > > When an exception is raised in a class constructor the application > a