51Testing软件测试论坛

标题: 有关Rational性能测试工具Quantify的问题,请高手指点 [打印本页]

作者: dyjyhx    时间: 2005-11-8 16:55
标题: 有关Rational性能测试工具Quantify的问题,请高手指点
在使用Rational的性能测试工具Quantify的时候,在执行过程中,出现异常。显示:
Note: Compilation for "Edit and Continue" has been detected.
Applying changes to a running program is not
supported by Quantify.


不知是什么原因?请高手指教,谢谢了
作者: sincky    时间: 2005-11-8 22:52
你用它测试什么程序?
作者: bluedevils    时间: 2005-11-9 16:53
你所测试的程序编译的时候设置了“edit and continue”项,需要在VC project setting里面去掉,具体在哪里忘了,可以参考quantify使用手册里面“VC++推荐设置”
作者: bluedevils    时间: 2005-11-9 17:03
1. In Visual Studio, select Project > Settings.

2. In the Link tab:

Select General in the Category drop-down list box.

Clear the Link Incrementally checkbox.
Incremental linking can corrupt the symbols for the program, so that Runtime Analysis tools will not be able to read them.

In the Project Options box enter: /fixed:no.
This adds relocation information to your image file.

Select Debug in the Category drop-down list box.

Clear the Separate types check box.
Separate types links several smaller .pdb files to make one large .pdb file. Rational Runtime Analysis tools require one .pdb file for each.exe or .dll.

3. In the C/C++ tab:

Select General in the Category drop-down list box.

Select Program Database in the Debug info drop-down list box.
The Program Database for Edit and Continue feature is not supported by Rational Runtime Analysis tools.

4. If you are using release mode:

In the Link tab, select General in the Category drop-down list box.

In the Link tab, check Generate debug info.

In the C++ tab, select Disable (Debug) in the Optimizations drop-down list box.
Generate debug info and disable optimizations (such as time and size) are the defaults for a debug build, but not for a release build.
作者: alexshen    时间: 2008-5-20 18:31
thanks




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2