As a transformation author, when you debug a transformation,
you can view the logical structure of the transformation context.
You can use this feature to navigate the hierarchical structure of
the transformation context, and view the values from the transformation
context and the transformation descriptor.
Before you begin
In the Java code
for a transformation, you must set a breakpoint in a method that has
a parameter or field that is of type com.ibm.xtools.transform.core.ITransformContext.
You
must create the following items:
- A transformation configuration for the transformation that you
debug
- An Eclipse launch configuration that starts a runtime workbench
in debug mode
- In the runtime workbench, a project that contains a model that
the transformation transforms, and a target container in which the
transformation generates output
About this task
To view the values of a transformation context:
Procedure
- Open a runtime workbench in debug mode.
- In the runtime workbench, apply the transformation configuration
for the transformation that contains the breakpoints in the Java code. When
the transformation reaches the breakpoint, the Variables view opens.
- In the Variables view, click the variable name that represents
the transformation context.
- On the toolbar in the Variables view, click the Show Logical
Structure icon ().
Results
The logical structure consists of a list of all the properties
in the transformation context. The properties are sorted alphabetically
by name.
Note: Some information, such as links to Eclipse
documentation or to developer guides, is available only from the help
topics that are installed with the product.