Running TrueCoverage for VC on .h files

0 Likes

Problem:

We have implemented numerous .dll's that make use of templates.  For the templates, the code resides in a .h file.  We would like to be able to track the code coverage for these files, but are only able to see the information for the .cpp files, and therefore our coverage is not accurate.  How would we go about getting TrueCoverage to give us information about our code in the .h files?

Resolution:

Try going into TrueCoverage's settings and choosing 'Instrument Inline functions.'  This should allow you to check the code residing in the .h files.

Old KB# 11465
Comment List
Anonymous
Related Discussions
Recommended