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 > aborts without any error. > > How can I get an error? > > Mattias > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal