Adding parameters to existing traces

Parameters can be used to associate data to traces: integers, strings and enumerations. A parameter specifies the format in which the parameter is shown in the viewer and text label associated with the parameter.

To add parameters to existing traces, do the following:

  1. Select an existing trace from either of the following places:
  2. Click the TraceBuilder menu and select Add New Parameter.
  3. In the Parameter Name field, enter the variable name you want to add to your trace.
  4. In the Parameter Type field, enter the type for your parameter.

    The type defines how the parameter should be determined, for example:

  5. (Optional) Select a Template for your parameter.
    The template defines pre-defined parameters that have special properties.

  6. Click OK. You should get this kind of change to your trace:

Note that you can always edit the trace text also manually.

Now you can go on to compiling your source code.

Related tasks