LCL: application: remove DebugInvalidExceptions

git-svn-id: trunk@58070 -
This commit is contained in:
ondrej 2018-06-01 19:52:08 +00:00
parent 63946f4466
commit e5bd2976ba

View File

@ -1193,11 +1193,6 @@ procedure TApplication.HandleException(Sender: TObject);
Buf: ShortString;
begin
SetLength(Buf,ExceptionErrorMessage(ExObject,ExAddr,@Buf[1],255));
{$IFDEF DebugInvalidExceptions}
DebugLn('TApplication.HandleException Strange Exception');
DebugLn(Buf);
DumpExceptionBackTrace;
{$ENDIF}
if Assigned(SysUtils.OnShowException) then
SysUtils.OnShowException(Buf);
end;