Compile > Compile a Project > Debug a Compilation

Debug a Compilation

The Citect Compiler dialog will notify you of any error messages as it compiles, and you can opt to cancel the compilation at any stage. If there are multiple or severe errors, the compiler might automatically cancel.

Once the compiler is finished, the compile messages will be listed in the Compile Messages Area sorted by Type. This can include the following types:

A Citect SCADA project can compile successfully if warning messages are generated. However, error messages and fatal messages will prevent a project from compiling successfully.

To go to a database record that relates to a compile message, double click within the message row. The Grid Editor will display with the associated field selected.

If you require further information about a particular compile message, see Compile Messages.

The compiler does not verify the operation of your project. Just because your project compiles does not mean it will work correctly at runtime. For example, the compiler checks that the tags you use are defined correctly, and that your Cicode has acceptable syntax. But, it does not check your tags for incorrect scaling, or that your Cicode has no potential divide by zero errors.

UNINTENDED EQUIPMENT OPERATION

  • Do not attempt to run your system until you have resolved errors reported during project compilation.
  • Always perform a complete compilation before promoting your project to the test or live environments.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

The compiler supports a number of options that modify the output of the compile error log, making it more practical to assess specific error types and entries. For more information, see Compilation Options.

See Also

Published June 2018