Log panel

Top  Previous  Next

User interface > Log panel

 

The Log panel displays logging messages and errors.

 

LogTree1

 

 

The kind of a message is marked by the colored boxes, which are displayed to the left of the node’s labels:

 

White        neutral message

Black        starting the translation without errors

Grey        results of the preprocessor

Blue        including another file

Green        success

Yellow        warning

Red        error

 

The picture above is a typical example:

The first line occurs, because no definitions are set in the options.

The red box in front of the filename in the second line means, that there were errors when the file was processed. The cause of the error is marked by the innermost error SysUtils: unexpected token. This error is propagated to it's parent nodes.

 

In the professional version of Delphi2Cpp SysUtils can be opened by a double click on the node with the error message. In the standard version you can open the file as normal. If the translation of SysUtils.pas is started, it stops at:

 

function AdjustLineBreaks(const S: string; Style: TTextLineBreakStyle =

            ): string;

 

This is a wrong result of the preprocessor. You can reload the original SysUtils.pas and find the position of TTextLineBreakStyle:

 

function AdjustLineBreaks(const S: string; Style: TTextLineBreakStyle =

        {$IFDEF LINUX} tlbsLF {$ENDIF}

        {$IFDEF MSWINDOWS} tlbsCRLF {$ENDIF}): string;

 

Because neither LINUX nor MSWINDOWS is defined, there is no value assigned  to TTextLineBreakStyle in the result of the preprocessor.

 

 

In the professional version the results of all files are listed in the tree:

 

LogTree2

 

 

 

 

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content