|
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. |
|