PurifyPlus Coverage的有关问题,请,重分感谢
PurifyPlus Coverage的问题,请高手指点,重分感谢!
我想用coverage来测试一个windows上的exe的覆盖率,但是插桩时出现一个对话框,上面的提示为:
Warning: no Coverage data set was created.
Either no relocs or debug data were found
or the filter set is too stringent
or the instrumentation mode excludes coverage data.
请问这个问题怎么解决??
------解决方案--------------------
请检查这个exe文件是否包含debug数据和重定位信息:
For PureCoverage and Quantify to work correctly against a native mode application, two requirements need to be met:
The application must contain debug data
The application must contain relocation information
If neither of these conditions have been met, then the tools are unable to instrument the application to Line or Function level and will cause no data to be collected from the application. This is the most common cause of this error.
A less common cause is that the filter rules are too stringent and have filtered out all useful information leaving the tool with nothing to process. This also ends up causing a no dataset created message because there is nothing to be processed.
我想用coverage来测试一个windows上的exe的覆盖率,但是插桩时出现一个对话框,上面的提示为:
Warning: no Coverage data set was created.
Either no relocs or debug data were found
or the filter set is too stringent
or the instrumentation mode excludes coverage data.
请问这个问题怎么解决??
------解决方案--------------------
请检查这个exe文件是否包含debug数据和重定位信息:
For PureCoverage and Quantify to work correctly against a native mode application, two requirements need to be met:
The application must contain debug data
The application must contain relocation information
If neither of these conditions have been met, then the tools are unable to instrument the application to Line or Function level and will cause no data to be collected from the application. This is the most common cause of this error.
A less common cause is that the filter rules are too stringent and have filtered out all useful information leaving the tool with nothing to process. This also ends up causing a no dataset created message because there is nothing to be processed.