Re: [fpc-devel] procedure ShowException

2018-06-02 Thread Sven Barth via fpc-devel
Am 01.06.2018 um 21:14 schrieb Ondrej Pokorny: Hello, is there any reason the OnShowException event is ignored for console applications? The OnShowException event is a feature of FPC (Delphi doesn't have it), so whoever added it probably thought that it makes more sense this way 🤷‍♀️ Why

[fpc-devel] procedure ShowException

2018-06-01 Thread Ondrej Pokorny
Hello, is there any reason the OnShowException event is ignored for console applications? Why not so: procedure ShowException(ExceptObject: TObject; ExceptAddr: Pointer); // use shortstring. On exception, the heap may be corrupt. Var   Buf : ShortString; begin SetLength(Buf,ExceptionErrorMess