DEL: Remove the workaround from rev. 1951 (fixed in Lazarus rev. 22775).

This commit is contained in:
cobines 2009-11-26 10:48:11 +00:00
commit d81088cf7c
2 changed files with 0 additions and 11 deletions

View file

@ -1677,7 +1677,6 @@ end;
procedure TfrmMain.AppException(Sender: TObject; E: Exception);
begin
WriteExceptionToDebug;
WriteExceptionToFile(gErrorFile);
ShowExceptionDialog;
end;

View file

@ -8,7 +8,6 @@ uses
Classes, SysUtils;
function ExceptionToString: String;
procedure WriteExceptionToDebug;
procedure WriteExceptionToFile(const aFileName: UTF8String; const ExceptionText: String = '');
procedure ShowExceptionDialog(const ExceptionText: String = '');
@ -42,15 +41,6 @@ begin
Result := Result + BackTraceStrFunc(Frames[FrameNumber]) + LineEnding;
end;
procedure WriteExceptionToDebug;
begin
if AppNoExceptionMessages in Application.Flags then exit;
{$ifndef DEBUG_ALLOW_DUMPBACKTRACE}
if (ExceptObject is Exception) and not (ExceptObject is EAbort) then
DebugLn(ExceptionToString);
{$endif}
end;
procedure WriteExceptionToFile(const aFileName: UTF8String; const ExceptionText: String);
var
f: System.Text;