mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
DEL: Remove the workaround from rev. 1951 (fixed in Lazarus rev. 22775).
This commit is contained in:
parent
7ed1d01f9b
commit
d81088cf7c
2 changed files with 0 additions and 11 deletions
|
|
@ -1677,7 +1677,6 @@ end;
|
|||
|
||||
procedure TfrmMain.AppException(Sender: TObject; E: Exception);
|
||||
begin
|
||||
WriteExceptionToDebug;
|
||||
WriteExceptionToFile(gErrorFile);
|
||||
ShowExceptionDialog;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue