/Fd   (Name PDB File)

OverviewHow Do ICompiler Options

The /Fdfilename option specifies a file name for a program database (PDB) other than the default name, VC50.PDB, created by /Zi. No space is allowed between /Fd and filename. If you do not specify an extension to filename, the extension .PDB is used. If filename ends in a backslash (to specify the name of a directory), the default file name, VC50.PDB, is used. For information on PDBs, see /Z7, /Zd, /Zi (Debug Info).

Note This option also names the compiler's state or .IDB file (used by minimal rebuild and incremental compilation).

Example

The following command creates a .PDB file called PROG.PDB that contains debugging information and an .IDB file called PROG.IDB that contains incremental compilation and minimal rebuild information.

CL /DDEBUG /Zi /FdPROG.PDB PROG.CPP