# Synopsis

PDX_MSGT mda_DbgCheckBackPtrs(long option, int model)

# Purpose

Validates backpointer information.

# Description

This function can be used to validate that all pointers in a model were stored or modified with one of mda_AddPtr, mda_ModifyPtr, or mda_DeletePtr. Any discrepancies found will be displayed. These discrepancies are the difference between the stored backpointer information and what would be generated by calling mda_SetBackPtrs. Calling this function does not change the backpointer information.

# Input

## option

### MDA_ALL_MODELS

Check the backpointer in all models. If this option is specified, the model argument is ignored.

## model

Model to check backpointers in

# Return

MDA_BAD_BACKPTRS MDA error code