Deciding What Data You Want to Collect

After you decide where to call the FFSTProbe function, you need to decide what data to capture. The question to ask is, "What data would I need to see to have a good chance of determining the source of the error?" Consider capturing data items that are global variables and control blocks.

Other things to consider are:

Make every effort to collect enough data to solve the problem without requiring the user to re-create the problem.

The amount of data collected could also be affected by the amount of system storage that is available or allocated to store error data.


[Back: Places to Instrument]
[Next: Error Types to Consider]