Knowledgebase: IDE
7.x: "'true' is not a valid integer value" or "Invalid compiler directive: 'true'" when enabling EurekaLog in IDE
Posted by Aleksandr Alekseev on 08 October 2014 10:14

Problem:

When I enable EurekaLog for my project in IDE - I get one of the following errors:

  • "'true' is not a valid integer value"
  • "[dcc32 Warning] W1030 Invalid compiler directive: 'true'"
  • "File not found: 'True.dpr'"
  • "0" is an invalid value for the "DebugInformation" parameter of the "DCC" task. The "DebugInformation" parameter is of type "System.Boolean"

Reason:

EurekaLog uses OTA to modify options of your opened project. Specifically, EurekaLog must enable debug information. The error messages comes from a known bug (see QC #122547) in Delphi OTA (OpenTools API). Alternatively, it may be caused by opening project in older Delphi version (for example, opening XE6 project in XE3).

Solution:

Try to use any of the following:

A). Switch to "Debug" profile;

B). Delete .dproj file (when downgrading project);

C). Remove all mentions of DCC_DebugInformation from .dproj file (edit with text editor);

D). Go to Project / Options / Delphi Compiler/ Compiling and manually set "Debug information" option to "Debug information" value or "Limited debug information" value. Do not use "No debug information" value.

You have to do this only once.

See also:

 

Checked:

EurekaLog 7.1, RAD Studio XE5, XE6, XE7.


Help Desk Software by Kayako Resolve