Preparing for debugging: Module built with Visual C 5.0

0 Likes

Problem:

How do I prepare a module for debugging under SoftICE or BoundsChecker.  I am building with VC 5.0.

Resolution:

You must build the application with the following settings under Visual C 5.0.

You can choose Program Database format, or C7 format.  Program Database builds debug info into a .PDB file.  C7 format builds the debug info directly into the module itself.

(program database debug)

compile:  /Zi

link:  /debug /debugtype:cv /pdb:none

or

(C7 Style debug)

compile: /Z7

link:  /debug /debugtype:cv /pdb:"foo.pdb" /pdbtype:con

These settings apply for both the BoundsChecker line of tools, and the SoftICE line of tools.

Old KB# 11982
Comment List
Anonymous
Related Discussions
Recommended