Ignore:
Timestamp:
Jan 17, 2018, 1:11:56 PM (6 years ago)
Author:
chronos
Message:
  • Added: Check memory leaks in debug build mode.
  • Fixed: Various memory leaks.
Location:
branches/easy compiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/easy compiler

    • Property svn:ignore
      •  

        old new  
        22*.exe
        33*.lps
         4heaptrclog.trc
  • branches/easy compiler/project1.lpr

    r140 r145  
    99  Interfaces, // this includes the LCL widgetset
    1010  Forms, UFormMain, UCompiler, USourceCode, UTargetCode, USourceExecutor, USourceGenerator
    11   { you can add units after this };
    12 
     11  { you can add units after this },
     12  SysUtils;
    1313{$R *.res}
    1414
     15{$IFDEF DEBUG}
     16const
     17  HeapTraceLog = 'heaptrclog.trc';
     18{$ENDIF}
     19
     20
    1521begin
     22  {$IFDEF DEBUG}
     23  // Heap trace
     24  DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     25  SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     26  {$ENDIF}
     27
    1628  RequireDerivedFormResource:=True;
    1729  Application.Initialize;
Note: See TracChangeset for help on using the changeset viewer.