Why I Am Getting TestStand Debug Options Warning Message?

Updated Feb 13, 2019

Reported In


  • TestStand
  • LabVIEW

Issue Details

I'm using the TestStand API from LabVIEW to develop a custom user interface to run sequence files and I'm getting the following message when closing my VI: 

References to PropertyObjects were not released properly.
    Total number of objects: 1114
    Number of top-level objects: 35

    Note: Some top-level objects may be included if they are referenced by
    an incorrectly released top-level object. For example, an unreleased
    SequenceContext object references a SequenceFile object.
The popup looks like:
Why I getting this message?


This message is showed when the method ReleaseSequenceFileEx is not used after explicitly opening a sequence file using the NewSequenceFile or GetSequenceFileEx methods. 
Also, make sure you are using LabVIEW and TestStand versions compatible. Check the compatibility in TestStand Compatibility with LabVIEW and LabWindows/CVI

Additional Information

Eventually, you can modify the behavior of this functionality from the Debug Options Dialog Box disabling the option Report Object Leaks.
For information about debuging components of a TestStand test program refer to Debugging TestStand Test Programs.