In addition to formatting coordinates as part of a program's output, you may also want to examine coordinate values while debugging your program. To save time, you can ``eavesdrop'' on the coordinate values being processed every time they are transformed. For example, when using the FrameSetFrameSet pointer ``wcsinfo'' obtained in §3.4 to transform coordinates (§3.7), you could inspect the coordinate values as follows:
By setting the FrameSet's ReportReport attribute to 1, coordinate transformations are automatically displayed on the program's standard output stream, appropriately formatted, for example:
For a complete description of the Report attribute, see its entry in Appendix C. For further details of how to set and enquire attribute values, see §4.6 and §4.5.