51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4569|回复: 4
打印 上一主题 下一主题

[原创] 有关Rational性能测试工具Quantify的问题,请高手指点

[复制链接]

该用户从未签到

1#
发表于 2005-11-9 16:53:17 | 显示全部楼层
你所测试的程序编译的时候设置了“edit and continue”项,需要在VC project setting里面去掉,具体在哪里忘了,可以参考quantify使用手册里面“VC++推荐设置”
回复 支持 反对

使用道具 举报

该用户从未签到

2#
发表于 2005-11-9 17:03:51 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /2 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-6-15 22:58 , Processed in 0.065801 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表