# Synopsis

PDX_MSGT mda_DbgTraverseEntity(long option, MDA_PTR db_ptr)

# Purpose

Displays a tracing of mda_TraverseEntity.

# Description

A tracing of the information passed to a traverse function by invoking mda_TraverseEntity on db_ptr is displayed. This function is useful for understanding what values mda_TraverseEntity passes to a traverse function. mda_TraverseEntity will be called without any options so this function assumes that all arrays in the entity have been allocated and initialized. The output will be one line of information for each invokation of the traverse function. Each line will look something like: .nf 19: cnt=3, int font, fld=2d268, data=72a78, taddr=729bc .fi Where: .IP "19:" 14 This number indicates that this is the 19th time mda_TraverseEntity has invoked the traverse function. .IP "cnt=3" This is the value of the count argument passed to the traverse function. .IP "int font" This is the type and name of the field passed in the fld argument. .IP "fld=2d268" This is the address of the field. Additional information about the field can be viewed by calling ddf_DbgDumpField with this address. .IP "data=72a78" This is the value of the data argument passed to the traverse function. .IP "taddr=729bc" This is the value returned by calling mda_GetTraverseAddr in the traverse function. .LP See the mda_TraverseEntity manual page for additional information about traversing entities.

# Input

## option

Options (not used)

## db_ptr

Entity to be traversed

# Return

MDA error code