Generating debug information for C++-to-UML transformations

If a transformation does not generate the output that you expect, you can specify that the transformation generate a log file. You can use the information in the log files to debug the transformations that you write.

A log file provides information on rules, source elements, and target elements. You can use the log file to learn how a transformation converts source elements to target elements or for debugging purposes if the transformation does not generate the expected output. The log file is generated as an XML file in the .metadata folder in your workspace.

To generate a log file for a transformation:

  1. In the Project Explorer view, right-click a transformation configuration file; then click Open.
  2. On the Common tab, click Generate debug log.
  3. Click File > Save.
The next time that you run the transformation, the log file is generated in the .metadata folder in your workspace.
Note: If you create a new transformation configuration, you can specify this information on the Common page of the New Transformation Configuration wizard.
Related tasks
Running C++-to-UML transformations
Running C++-to-UML transformations in silent mode
Related information
Comparing and merging versions of a model

Feedback